Peter Arrenbrecht
f5e17bf442
graphlog: fix regression with filelogs introduced by c19a6e3c8257
2008-11-16 20:55:30 +01:00
Patrick Mezard
66e081318f
Merge with crew-stable
2008-11-15 15:57:12 +01:00
Patrick Mezard
ce81a90498
convert: be even more tolerant when detecting svn tags
...
Former code failed when tracking child directories we assumed were renamed with
their parents but were really created in the tags directory. This happens in
jQuery repository with /tags/ui/1.5b4/release@5455.
2008-11-15 15:51:26 +01:00
Patrick Mezard
9abae0a381
test-pull-branch: make it executable
2008-11-15 15:09:11 +01:00
Dirkjan Ochtman
18919db71c
graphlog: fix python2.3 incompatibility (used genexp, sorted())
2008-11-15 12:27:40 +01:00
Christian Ebert
d61322a8dd
keyword: move common code out of commit condition
2008-11-14 22:29:03 +01:00
Matt Mackall
d725fd83a0
lookup: fast-paths for int and 'tip'
2008-11-14 14:12:43 -06:00
Matt Mackall
d5c6f31ce5
doc: handle shortened command synopses
2008-11-14 14:12:16 -06:00
Dirkjan Ochtman
f173d61010
keyword: be more efficient about ctx usage
2008-11-14 19:10:09 +01:00
Dirkjan Ochtman
86787fafb1
graphlog: kill whitespace from earlier refactoring
2008-11-14 18:34:47 +01:00
Dirkjan Ochtman
367d64160c
extensions: copy __module__ for wrapped commands
2008-11-14 14:17:42 +01:00
Benoit Allard
7fb31ff7cc
pull: update to branch tip if there is only one head on the current branch
...
On pull, if the current named branch has only one head, update to it.
2008-11-14 14:36:17 +01:00
Dirkjan Ochtman
35deddbf97
graphlog: use built-in log output buffering
2008-11-14 13:48:23 +01:00
Peter Arrenbrecht
0aba0de18f
graphlog: refactor common grapher code
...
Extracts the column and edge determination code into a separate function
usable on generic DAGs with at most 2 parents per node.
grapher() is very similar to graphmod.graph(). I shall look into merging
them when I try visualizing patch branches in hgweb.
Started using contexts and renamed a bunch of variables (fewer underscores).
2008-11-14 13:44:10 +01:00
Dirkjan Ochtman
9ef9b3e5db
cmdutil: use change contexts for cset-printer and cset-templater
2008-11-14 13:59:25 +01:00
Dirkjan Ochtman
d5bf581a69
context: use descriptors to speed up lazy attributes
2008-11-14 12:44:26 +01:00
Dirkjan Ochtman
c8e4c03aa9
context: special-case changectx setup for integer changeid
2008-11-13 21:09:51 +01:00
Matt Mackall
8b3cb5ceff
Add contrib/perf.py for performance testing
2008-11-13 12:52:03 -06:00
Matt Mackall
4bb1cd5f2b
lookup: speed up partial lookup
2008-11-12 19:11:34 -06:00
Matt Mackall
6febe04c5f
help: remove redundant 'hg <command>' from command synopses
2008-11-12 19:11:09 -06:00
Matt Mackall
4205fad04a
revlog: speed up parents()
2008-11-12 15:58:46 -06:00
Matt Mackall
0770924171
revlog: remove delta function
2008-11-12 15:32:16 -06:00
Matt Mackall
b2807810c6
linkrev: take a revision number rather than a hash
2008-11-12 15:19:14 -06:00
Chris Winter
454f5f9dca
patchbomb: add option to send intro email for a single patch (issue1120)
2008-11-13 10:11:32 +01:00
Peter Arrenbrecht
e9db68caeb
patchbomb: fix patch name generation in patch series
2008-11-12 19:12:32 +01:00
Peter Arrenbrecht
1e542b2102
patchbomb: add tests for diffstat, inline, and attach options
2008-11-12 19:12:26 +01:00
Peter Arrenbrecht
4cbd9181b8
patchbomb: make test markers more syntax highlighter friendly
2008-11-12 19:12:21 +01:00
Peter Arrenbrecht
80b2cbc5cf
graphlog: add assertion for allowed n_column_diff range
2008-11-12 16:32:21 +01:00
Peter Arrenbrecht
6c0891c089
graphlog: drop redundant comment (see docstring)
2008-11-12 16:32:35 +01:00
Dirkjan Ochtman
37ad9d0fc7
patchbomb: extract a bunch of nested functions
...
- clarifies dependencies on variables
- extracts potentially useful utility functions
- no need for separate confirm() function
- error message style conformance
- PEP 8 conformance
2008-11-12 14:36:16 +01:00
Peter Arrenbrecht
a3ac15eea4
patchbomb: make hg email
reusable for other patch sources
...
Adds two internal options, patches and patchnames, which allow other extensions
to email a given set of patches. The pbranch extension needs this to send its
patches which are diffs between topic branches.
2008-11-12 14:07:47 +01:00
Peter Arrenbrecht
c548002043
patchbomb: make options to email command reusable
...
Makes the option set that controls the actual emailing of the patches
available as patchbomb.emailopts.
2008-11-12 14:01:09 +01:00
Benoit Boissinot
f30c45529e
Backed out changeset 131da9defd10 (issue1375)
2008-11-12 09:08:43 +01:00
Benoit Boissinot
e2636d353e
inotify: fix replacing a folder with a file (issue1375)
2008-11-11 23:16:59 +01:00
Benoit Boissinot
331010693d
fix test-export portability (issue1383)
...
wc outputs with leading spaces on *BSD
2008-11-09 12:15:32 +01:00
Dirkjan Ochtman
2b37453255
merge with mpm
2008-11-08 00:29:04 +01:00
Dirkjan Ochtman
12d40d8733
tests: fix test failures from default/template changes
2008-11-08 00:27:51 +01:00
Dirkjan Ochtman
1763cebde5
tests: make killdaemons.py executable
2008-11-07 23:56:02 +01:00
Dirkjan Ochtman
f8d7226e5f
hgweb: fix up the less/more links on the graph page
...
Previously, they pointed to a non-intuitive revision, and got borked when
using a URL-specified style combined with alternate revcounts.
2008-11-07 23:31:12 +01:00
Matt Mackall
eed64a7674
tests: add killdaemons helper script
2008-11-07 16:28:53 -06:00
Matt Mackall
0edb7d6fe4
run-tests: allow turning off diff display
2008-11-07 16:28:52 -06:00
Matt Mackall
e91df23e48
protocol: avoid sending outrageously large between requests
2008-11-07 15:30:25 -06:00
Matt Mackall
ada0793b5a
tests: fix test-hgweb to not leak directory name
2008-11-06 13:15:35 -06:00
Matt Mackall
52c47b0a96
hgweb: improve color discrimination for paper and coal
2008-11-06 12:46:34 -06:00
Matt Mackall
eef50022da
hgweb: update tests for paper style
...
diff -r ca03debb3dcd -r 4e1e6aee37e8 tests/test-hgweb-commands.out
Binary file tests/test-hgweb-commands.out has changed
2008-11-06 12:22:09 -06:00
Matt Mackall
963525856d
hgweb: move old style to spartan/
2008-11-06 11:57:37 -06:00
Matt Mackall
076f93ace1
hgweb: Change default style to paper
2008-11-06 11:56:01 -06:00
Mark Edgington
bf5852441b
hgweb: support for deny_read/allow_read options
...
reimplementation of a patch provided by Nilton Volpato.
Folded into a single patch by Thomas Arendsen Hein.
2008-10-31 15:28:06 +01:00
Benoit Boissinot
becc8b09ae
add missing import from d329ec89ce55
2008-11-07 18:42:43 +01:00
Benoit Boissinot
a95f4bd10d
fix restart of interrupted recover
...
Ignore missing files if they are already removed.
Thanks maelcum on IRC for reporting it.
2008-11-07 18:41:22 +01:00