[PATCH 0 of 2] Let's try that again

Bryan O'Sullivan bos at serpentine.com
Wed Aug 24 14:51:26 CDT 2005


I rewrote the "hg log" command last night.  Along the way, I got rid of
some pathological behaviour and added some useful features.

Here's the behaviour of old "hg log":

linux-2.6 $ time hg log >/dev/null

real    1m18.673s
user    1m9.455s
sys     0m6.676s

And the new version:

linux-2.6 $ time hg log >/dev/null

real    0m4.970s
user    0m2.885s
sys     0m0.532s

And something you couldn't even do with the old version (and notice how
fast it is):

linux-2.6 $ time hg log net/ipv4 >/dev/null

real    0m4.932s
user    0m2.993s
sys     0m0.521s

Pullable from http://www.serpentine.com/hg
-------------- next part --------------
3 files changed, 111 insertions(+), 66 deletions(-)
contrib/patchbomb     |    3 
mercurial/commands.py |  162 ++++++++++++++++++++++++++++++-------------------
mercurial/util.py     |   12 ++-


More information about the Mercurial mailing list