[PATCH 0 of 2 STABLE] fix descendants(nullrev)

Nicolas Dumazet nicdumz at gmail.com
Sun Nov 7 06:06:40 CST 2010


Hello.

I was puzzled to see that ancestor(nullid, other) would take so long.
After a quick investigation, it turned out that we were walking the index twice
just for this...

Spotted while pdb-ing on mozilla-central, it makes a nice difference!

Regards,
Nicolas.


More information about the Mercurial-devel mailing list