[PATCH 0 of 2] Rewrite log command, get patchbomb working again
Bryan O'Sullivan
bos at serpentine.com
Wed Aug 24 14:50:25 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 --------------
6 files changed, 33 insertions(+), 13 deletions(-)
MANIFEST.in | 1 +
Makefile | 3 +++
contrib/bash_completion | 4 ++--
mercurial/hg.py | 22 +++++++++++++++-------
mercurial/hgweb.py | 14 ++++++++++----
tests/test-help.out | 2 ++
More information about the Mercurial
mailing list