Dirkjan Ochtman
176bc50a2d
hgweb: allow distinction between open/closed branches on branches page
2009-06-04 18:05:50 +02:00
Matt Mackall
243b33c531
commit: rename wctx to cctx
2009-06-03 17:12:48 -05:00
Matt Mackall
19bea6fdda
mq: fix commit prototype
2009-06-03 17:07:41 -05:00
Matt Mackall
8b6f125b5e
commit: trade O(n^2) file checks for O(n^2) dir checks
2009-06-01 22:13:08 -05:00
Matt Mackall
fcb44e87db
commit: move explicit file checking into repo.commit
2009-06-01 21:51:00 -05:00
Matt Mackall
11d4ab2e09
dirstate: more accurate use of match.dir callback
2009-06-01 20:25:01 -05:00
Matt Mackall
7c83f8b030
commit: editor reads file lists from provided context
2009-06-01 14:51:47 -05:00
Matt Mackall
c1213eaf9d
commit: drop the now-unused files parameter
2009-06-01 14:11:32 -05:00
Matt Mackall
914f8e938d
tag: use match.exact for commit
2009-06-01 14:11:19 -05:00
Matt Mackall
6be7863a0e
commands: drop files arg for commit calls
2009-06-01 13:51:21 -05:00
Matt Mackall
ced6367e45
transplant: use match object rather than files for commit
2009-06-01 13:51:21 -05:00
Matt Mackall
a0b80d611a
rebase: remove unneeded status call before commit
2009-06-01 13:51:21 -05:00
Matt Mackall
0649f988bf
gpg: use match.exact rather than files for commit
2009-06-01 13:51:21 -05:00
Matt Mackall
e12da484f7
mq: drop unneeded files args for commit
2009-06-01 13:51:21 -05:00
Matt Mackall
c22dd49465
commit: apply force flag without files
2009-06-01 13:51:21 -05:00
Matt Mackall
6f44115342
fetch: no need to pass files list to commit
2009-06-01 13:51:21 -05:00
Marco Beck
47e33d1f81
templater: retain author's full name if no email is supplied (issue1685)
2009-06-03 14:50:03 +02:00
Dirkjan Ochtman
5912c48b40
tests: delete parallel coverage files after combining
2009-06-03 14:10:36 +02:00
John Mulligan
3f2923090d
heads: show closed heads only when --closed is passed
...
Add a --closed (-c) option to 'hg heads' to show all heads and change the
default behavior to refrain from showing fully closed branches.
Enhance 'hg heads <branch>' so that:
* default: displays normal & inactive heads, not closed heads
* --closed: displays normal, inactive & closed heads
* --active: displays only normal heads
* both --closed and --active: displays normal & closed heads only
2009-06-03 13:59:38 +02:00
John Mulligan
e094244749
localrepo: set heads and branchheads to be closed=False by default
...
The heads(...) and branchheads(...) functions will now only return closed
heads when explicitly asked for them. This will cause 'hg merge' to have
better behavior in the presence of a branch that has closed heads when no
explicit rev is passed.
2009-06-03 13:42:55 +02:00
Patrick Mezard
a848b6f227
convert: rewrite tags when converting from hg to hg
2009-06-01 17:12:42 +02:00
Patrick Mezard
06e4a5967d
convert: default revisions order depends on source
...
When converting Mercurial repositories you expect the revision numbers to be
preserved, while other sources conversions focus on efficiency.
2009-06-01 17:12:41 +02:00
Patrick Mezard
e8585b2da9
convert: fail fast if source does not support --sourcesort
2009-06-01 17:12:39 +02:00
Patrick Mezard
7c73a84f65
convert: add --sourcesort option for source specific sort
...
Only supported by Mercurial source for now.
2009-06-01 17:12:39 +02:00
Patrick Mezard
e3f91663d5
convert: parse sort mode sooner
2009-06-01 17:12:38 +02:00
Patrick Mezard
a745de1eb9
convert: split toposort() into subfunctions for readability
2009-06-01 17:12:37 +02:00
Greg Ward
e8d6180038
run-tests: don't replace PYTHONPATH, just augment it.
...
(Needed at least for Subversion bindings on OS X, which are in
/opt/subversion. Useful for other external libraries installed in
non-standard places too.)
2009-06-01 09:18:35 -04:00
Martin Geisler
aab6d1c8ed
merge with mpm
2009-06-01 01:24:01 +02:00
Martin Geisler
5d25b57f99
color: yet another typo
2009-06-01 00:56:29 +02:00
Matt Mackall
ac02180873
match: fold plan cases down to two special cases
...
- merge always and match with patterns
- make always and match with patterns the default
- invert dostep3 to skipstep3
- move dirignore test inside exact case
2009-05-31 17:54:18 -05:00
Matt Mackall
fdab704ebc
walk: refactor walk plan
...
- never is gone
- reorder tests more cleanly
- rename nomatches to exact for clearer semantics
2009-05-31 17:54:18 -05:00
Matt Mackall
e802acf0e9
match: remove match.never
...
Only one user, can be translated to match.exact()
2009-05-31 17:54:18 -05:00
Matt Mackall
9c7c16f5cf
walk: use match.bad callback for filetype messages
2009-05-31 17:54:18 -05:00
Matt Mackall
37eaadf540
match: ignore return of match.bad
...
All users returned false, return can now be dropped
2009-05-31 17:54:18 -05:00
Matt Mackall
e81e064b9c
add: use match.bad callback more effectively
2009-05-31 17:54:18 -05:00
Matt Mackall
2940d96bce
match: document bad callback semantics
2009-05-31 17:54:18 -05:00
Matt Mackall
7c83618e4d
walk: simplify logic for badfn clause
...
- matchfn redundant
- call badfn always rather than fwarn
- use for/else rather than keep var
2009-05-31 17:54:18 -05:00
Matt Mackall
2e3801b37e
walk: we always have a badfn
2009-05-31 17:54:18 -05:00
Matt Mackall
6275c6f6e2
walk: simplify check for missing file
2009-05-31 17:54:18 -05:00
Greg Ward
3dc47b69c7
run-tests: redefine --with-hg so it takes the 'hg' script to run.
...
- in parseargs(), check that --with-hg value is valid
- add handy --local option for "--with-hg=../hg"
- ensure that we always set PATH and PYTHONPATH (not just
when doing a temporary install)
- override any existing PYTHONPATH, so test success does not
depend on whatever happens to be in the caller's environment
- give tests a little more control by exporting $PYTHON to the
environment; needed by test-convert and test-mergetool when
they run hg with a stripped-down $PATH
Also, add a big comment explaining all the corner cases to test for the
next person who tries to modify this script.
2009-05-31 15:20:31 -04:00
Martin Geisler
adf3a5b553
i18n-da: synchronized and updated slightly
2009-05-31 19:48:37 +02:00
Martin Geisler
5a71040932
commands: typo in bundle abort message
...
This error trigger if one calls bundle with the wrong parameters and
it is thus not an error scripts will want to look for (they could and
should ensure that they call bundle with the correct parameters).
2009-05-31 18:09:19 +02:00
Martin Geisler
c624e91552
fixed typos found in translatable strings
...
This is from a spell-check of hg.pot.
2009-05-31 14:55:51 +02:00
Martin Geisler
bda88a146a
graphlog, win32mbcs: capitalize ASCII
2009-05-31 14:53:46 +02:00
Martin Geisler
5b5c479188
highlight: consistently capitalize Pygments
2009-05-31 14:52:22 +02:00
Martin Geisler
d00dd17408
win32mbcs: capitalize Unicode
2009-05-31 14:51:37 +02:00
Martin Geisler
fabd4ae1de
commands: expand "arg" -> "argument" in showconfig help strings
...
It is easier to translate full sentences without abbreviations, or
said differently, I don't know a short Danish word for "argument".
2009-05-31 14:48:17 +02:00
Martin Geisler
3f7c86dc69
wrap string literals in error messages
2009-05-31 01:30:16 +02:00
Martin Geisler
1d423b04e4
convert/gnuarch: wrap long line, format kwargs without spaces
2009-05-31 01:29:30 +02:00
Martin Geisler
053908e089
convert/cvsps: wrap long lines
2009-05-31 01:28:18 +02:00