Mercurial > hgsubversion
annotate MANIFEST.in @ 889:7a98fbadcae9
revsets: huge speedups for fromsvn and svnrev
I have a hgsubversion repo that contains over 300,000 commits.
In that repo, this patch improves performance as follows:
hg --time log -r 'first(fromsvn())'
Before: 40.3 sec
After: 0.8 sec
hg --time log -r 'svnrev(350000)'
Before: 40.3 sec
After: 0.1 sec
Note: the performance of these revset implementations is very sensitive
to doing as little work as possible per line of the rev_map file.
I originally attempted to hide the file format details by hoisting the
parsing of each line up into RevMap.readmapfile, but the current less
abstract code is dramatically (10x or more) faster.
If the revmap file is missing, we error out and print a message
describing what to do.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Sat, 12 May 2012 05:38:34 -0700 |
parents | 8a226f0f99aa |
children | 74d9aa42b28f |
rev | line source |
---|---|
852
8a226f0f99aa
Include documentation in tarballs (fixes #317).
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
767
diff
changeset
|
1 include Makefile hgsubversion/help/*.rst |
767
6c244d3ceaf7
add a MANIFEST.in file (fixes #142)
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
diff
changeset
|
2 recursive-include tests *.py *.sh *.svndump *.txt |