[PATCH] manifest: removed usage of the global cmp function

Patrick Mézard pmezard at gmail.com
Sun Aug 8 03:52:01 CDT 2010


Le 07/08/10 21:14, Renato Cunha a écrit :
> # HG changeset patch
> # User Renato Cunha <renatoc at gmail.com>
> # Date 1281208371 10800
> # Node ID 4900e7abd6f26b7833a47c73df125e4f16b7d35e
> # Parent  99aed79127914117c17fc5d096f855d5622bc29c
> manifest: removed usage of the global cmp function
> 
> Py3k doesn't have a global cmp() function, making this call problematic in the
> py3k port. Also, calling cmp() here is not necessary, since we only want to
> know if the two values are equal. A check for equality perfect in this case and
> this patch does that.

In crew: http://hg.intevation.org/mercurial/crew/rev/69e0bcf36961

Thanks!

--
Patrick Mézard


More information about the Mercurial-devel mailing list