[PATCH 2 of 2 stable] hgweb: fixes invalid parents / children in comparison

Patrick Mézard patrick at mezard.eu
Tue Jul 31 08:17:30 CDT 2012


Le 31/07/12 01:33, wujek srujek a écrit :
> # HG changeset patch
> # User wujek srujek <wujek.srujek at googlemail.com>
> # Date 1343689178 -7200
> # Branch stable
> # Node ID 8fdfd019797dd5b85c00d7b511ab2e6231dc6b19
> # Parent  a9add455b8e6b2a15e0533895cb3f6c3b4529426
> hgweb: fixes invalid parents / children in comparison
> 
> Previously, the parents / children were computed relative to the cset of the
> currently shown file, which was wrong and inconsistent with diff and others.
> With this patch, the listed csets are those that contain changes to the
> currently compared file, which don't necessarily have to be the direct parents
> and children of the changeset itself.

Both patches in crew-stable:

  http://hg.intevation.org/mercurial/crew/rev/06217d3cf8d9

Thanks!

test-check-code-hg.t failed because the mimetypes import in webutil.py was no longer used, I fixed it.

--
Patrick Mézard



More information about the Mercurial-devel mailing list