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
Dirkjan Ochtman
076e8caeee
hgweb: show revision number in the graph pagination
2008-11-07 15:47:01 +01:00
Dirkjan Ochtman
a0fd77cd87
hgweb: fix pagination for graph
2008-11-07 15:40:36 +01:00
Thomas Arendsen Hein
af726d5dc0
Keep sessionvars with repository links added in a06cb2fc46a9
...
Without this, e.g. "?style=coal" would be dropped.
2008-11-07 13:22:41 +01:00
Thomas Arendsen Hein
aaf6b3ebf3
Fix test output for updated gitdiffs help and web template cleanups
2008-11-07 13:08:34 +01:00
Thomas Arendsen Hein
c6095906cc
Do not abort with inotify extension enabled, but not supported by the system.
...
And remove the "native support is required" message which is generated at an
inappropriate location and is printed more than once when using 'hg status'.
2008-11-07 13:02:04 +01:00
Thomas Arendsen Hein
9ef29ab028
Enhance gitdiffs help text
2008-11-07 13:02:03 +01:00
Thomas Arendsen Hein
880d884e39
Kill trailing whitespace in templates
2008-11-07 13:02:02 +01:00
Dirkjan Ochtman
1632f1ef05
graphlog: move functions around, eliminate helper function
...
Makes it easier to read all of the code.
2008-11-07 11:44:37 +01:00
Peter Arrenbrecht
c463871592
graphlog: split the actual DAG grapher out into a separate method
...
This allows extensions like pbranch to use asciigraph() to graph dependencies
for patch branches, but could be used for basically any DAG.
2008-11-07 10:37:20 +01:00
Peter Arrenbrecht
f9593dad02
graphlog: rename some vars prior to refactoring
2008-11-07 10:29:43 +01:00
Peter Arrenbrecht
939c6d9fa8
graphlog: make some comment lines more like others in punctuation
2008-11-07 10:29:35 +01:00
Peter Arrenbrecht
46c235b486
patchbomb: fix indentation
2008-11-07 10:18:55 +01:00
Peter Arrenbrecht
3f48887d79
patchbomb: move exportee class to top level
...
As suggested by djc.
2008-11-07 10:18:12 +01:00
Peter Arrenbrecht
63d1bb911f
ui: log non-interactive default response to stdout when verbose
...
This allows test scripts that feed their output into documentation
to properly show the session as it would appear to an end-user.
2008-11-07 10:27:39 +01:00
Ronny Pfannschmidt
599e773be7
export: fixed silent output file overwriting
...
hg export -o outfile 1 2 3 4 had the same effect as hg -o outfile 4
This was caused by opening with 'w' instead of 'a'. This only occurs when
the filename pattern resulted in ambiguous patch filenames.
2008-11-06 11:17:38 +01:00