Bryan O'Sullivan
ce7f264f24
patch: make internal code a bit friendlier to use
2007-07-31 16:28:05 -07:00
Bryan O'Sullivan
3bcee4b94e
commands: move commit to cmdutil as wrapper for commit-like functions
2007-07-31 16:28:05 -07:00
Bryan O'Sullivan
46b7a3a9ca
patch: remove unused parameter from b85diff
2007-07-30 20:49:08 -07:00
Bryan O'Sullivan
d761a6e964
Update expected test output
...
It's no longer a "problem" to have the same name listed with no prefix
and a "hgext." prefix.
2007-07-30 20:48:50 -07:00
Bryan O'Sullivan
f2fb8a0b42
extensions: don't get confused by aliasing between "foo" and "hgext.foo"
2007-07-30 14:53:03 -07:00
Thomas Arendsen Hein
1640028059
merge with crew-stable
2007-07-30 20:06:11 +02:00
Thomas Arendsen Hein
c8e49d5f09
Fix re: and glob: patterns in .hgignore (reported by Brad Schick)
...
relglob: and relre: were already detected for a long time, so
I kept this undocumented functionality, especially as it was already
tested in test-hgignore.
2007-07-30 20:01:16 +02:00
Thomas Arendsen Hein
c5409343d1
test-convert: Hide warning about missing subversion bindings.
2007-07-29 19:32:55 +02:00
Thomas Arendsen Hein
8778149e15
Fix bashism and remove useless use of cat.
2007-07-29 18:53:09 +02:00
Patrick Mezard
55cd10d565
Test qnew --git
2007-07-28 20:15:54 +02:00
Patrick Mezard
70ab7b4b41
mq: add qnew --git option
2007-07-28 20:15:54 +02:00
Bryan O'Sullivan
e5831bba91
convert: empty log messages are OK as of d10c8cd5d283
2007-07-27 14:30:20 -07:00
Bryan O'Sullivan
04aae067fa
localrepo.commit: only munge comment text if committing via dirstate
2007-07-26 14:47:31 -07:00
Bryan O'Sullivan
8cd3c03796
convert: make test-convert executable
2007-07-26 14:08:39 -07:00
Brendan Cully
0c1f3fe27b
Merge with bos
2007-07-26 14:04:48 -07:00
Brendan Cully
987acabeef
convert svn: canonicalize path before calling url_from_path.
...
Otherwise libsvn has a tendency to abort().
2007-07-26 14:02:49 -07:00
Bryan O'Sullivan
8b47a0ee32
Ignore mergebackup files generated by mpatch
2007-07-26 13:38:20 -07:00
Bryan O'Sullivan
930e85e029
convert: get rid of ugly use of hasattr
2007-07-26 13:36:53 -07:00
Bryan O'Sullivan
4b8b41843e
convert: get rid of "hg." prefix where not needed
2007-07-26 13:34:36 -07:00
Bryan O'Sullivan
30c0638736
convert: add filename filtering and renaming support
2007-07-26 13:34:36 -07:00
Bryan O'Sullivan
0242a99204
convert: add test
2007-07-26 13:34:36 -07:00
Bryan O'Sullivan
2eb79e019f
convert: acquire/release locks periodically
2007-07-26 13:34:36 -07:00
Bryan O'Sullivan
73b8ede983
convert: Support Mercurial as a source, as well as a sink
2007-07-26 13:34:36 -07:00
Bryan O'Sullivan
787a42c2b2
convert: make commit constructor clearer and less magical
2007-07-26 13:34:36 -07:00
Bryan O'Sullivan
fe20ca5067
convert: rename mapfile to revmapfile, so we can map more than just revs
2007-07-26 13:34:36 -07:00
Brendan Cully
bd0ce0a313
convert svn: try to extract URL from source if it is a working directory
2007-07-26 10:57:26 -07:00
Brendan Cully
dc4cbcfc6f
Merge with mpm
2007-07-26 10:43:01 -07:00
Brendan Cully
eb0a3e666b
convert: urlify svn repos if necessary.
...
We should also try to extract the URL from an svn working directory.
2007-07-26 10:42:44 -07:00
Matt Mackall
37cc19c8c5
revlog: localize some fastpath functions
2007-07-26 12:02:58 -05:00
Matt Mackall
eeb8f14a99
revlog: minor chunk speed-up
2007-07-26 12:02:58 -05:00
Matt Mackall
d106fa8150
revlog: minor revdiff reorganization
2007-07-26 12:02:58 -05:00
Matt Mackall
9429a0a390
revlog: move flag checking out of the offset fastpath
2007-07-26 12:02:58 -05:00
Matt Mackall
fc2b62f41f
dirstate: localize a bunch of methods in status fastpath
2007-07-26 12:02:58 -05:00
Matt Mackall
c16b9a14c4
dirstate: speed up sorting in findfiles
2007-07-26 12:02:58 -05:00
Matt Mackall
24095cdf2c
revlog: pass mode to _supported directly
2007-07-26 12:02:58 -05:00
Matt Mackall
8e7fb240b4
dirstate: localize a bunch of methods for findfiles
2007-07-26 12:02:58 -05:00
Matt Mackall
169bd362a1
Merge with -stable
2007-07-26 12:02:55 -05:00
Matt Mackall
0ac116e475
merge: don't forget to update the dirstate for exec bit changes
2007-07-26 11:19:53 -05:00
Shun-ichi GOTO
da82dc7d46
posixfile_nt: '+' should allow read access.
...
This fixes unexpected I/O error on committing many files
due to cset:f75d8ba770e0 (r4902 in crew).
2007-07-25 15:58:10 +09:00
Shun-ichi GOTO
419d6d63b2
posixfile_nt: '+' should allow read access.
...
This fixes unexpected I/O error on committing many files
due to cset:f75d8ba770e0 (r4902 in crew).
2007-07-25 15:58:10 +09:00
Matt Mackall
767bb11dd5
revlog: avoid some unnecessary seek/tell syscalls
2007-07-23 20:44:08 -05:00
Matt Mackall
f7f7d43737
manifest: speed up creation of the manifestdict
...
- fold iteration and rawset into parse
- avoid creating extra new strings with [:] where possible
- speed up node.bin
2007-07-23 20:44:08 -05:00
Matt Mackall
dd01d60440
lazyparser.findnode: fix typo and s/rfind/find/
...
There's no reason to use reverse string search and it's slightly slower
2007-07-23 20:44:08 -05:00
Matt Mackall
7292978647
lazyindex: speed up __getitem__
...
This function is fairly performance sensitive, so we make a couple
ugly tweaks:
- keep all entries packed so we needn't test entry types
- fold index lookup/load into unpack call to eliminate
local variable setting
2007-07-23 20:44:08 -05:00
Matt Mackall
a68e049384
lazyparser: up the blocksize from 512 bytes to 64k
2007-07-23 20:44:08 -05:00
Matt Mackall
b607d22a05
revlog: implement a fast path for heads
2007-07-23 20:44:08 -05:00
Matt Mackall
cb95c386e8
revlogio: speed up parsing
...
- precalcuate ending offset
- pull some variables into local scope
- separate inline and out of line code paths
2007-07-23 20:44:08 -05:00
Matt Mackall
8fa2498ebf
revlog: eliminate diff and patches functions
...
call mdiff variants directly
2007-07-23 20:44:08 -05:00
Matt Mackall
9257ef4f4f
revlog: speed up chunkcache
...
- use a reasonable cache size
- avoid an extra copy when we pull in big revs
2007-07-23 20:44:08 -05:00
Matt Mackall
141c035280
revlog: some basic code reordering
2007-07-23 20:44:08 -05:00