Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 20:40:16 +0100] rev 9929
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 20:40:04 +0100] rev 9928
findrenames: improve coding-style
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 18:21:47 +0100] rev 9927
findrenames: speedup exact match
benchmarked on crew repo with:
rm -rf * ; hg up -C ; for i in `find . -name "*.py"` ; do mv $i $i.new;done
followed by:
hg addremove -s 100
before: Time: real 28.890 secs (user 26.920+0.000 sys 1.450+0.000)
after : Time: real 6.790 secs (user 5.310+0.000 sys 1.350+0.000)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 17:39:42 +0100] rev 9926
findrenames: refactor the score computation
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 17:26:42 +0100] rev 9925
findrenames: first loop over the removed files, it's faster
Getting the file from the working dir is less expensive than getting it from
the repo history, hence the speedup.
benchmarked on crew repo with:
rm -rf * ; hg up -C ; for i in `find . -name "*.py"` ; do mv $i $i.new;done
followed by:
hg addremove -s 100
before: Time: real 68.760 secs (user 65.760+0.000 sys 2.490+0.000)
after : Time: real 28.890 secs (user 26.920+0.000 sys 1.450+0.000)
Alexander Solovyov <piranha@piranha.org.ua> [Tue, 24 Nov 2009 14:32:19 +0200] rev 9924
localrepo: support 'rev in repo' syntax