[PATCH] localrepo: fix bugs in branchheads

Sune Foldager cryo at cyanite.org
Wed Sep 23 06:11:57 CDT 2009


Dirkjan wrote:

> This should probably be sorted(x, reverse=True) instead of list(reversed(x)).

No, we don't want to sort the list, just reverse it. Is there a better (shorter) way?

> Also adding a small docstring to branchheads() would be awesome. :)

I'll do that :)

-- Sune





More information about the Mercurial-devel mailing list