Commit Graph

8930 Commits

Author SHA1 Message Date
Christian Ebert
acc65a6303 hgrc.5: wrap manpage at 80 chars
Checked with asciidoc 8.4.5
2009-06-01 02:17:57 +02:00
Abderrahim Kitouni
64e7d4bd19 bookmarks: update docstring 2009-06-04 21:24:29 +01:00
Brendan Cully
167122c387 Unbreak run-tests support for out-of-tree extensions 2009-06-06 15:38:03 -07:00
Brendan Cully
9c33729b44 Merge with crew-stable 2009-06-06 13:37:41 -07:00
Will Maier
b6685f18df test-fncache: Use find instead of ls -R.
Different platforms implement -R differently (and it produces
unneccessarily verbose output in this case). find is just as
good and more consistent. Unbreaks test on OpenBSD.

Edited by pmezard: added 'sort' call
2009-06-04 18:11:11 -06:00
Will Maier
3cc4d8d3f2 Make test-verify SUSv3 compatible.
'head -c' isn't supported on (at least) OpenBSD and is not
part of SUSv3. Instead, use dd.

See also:

    http://www.opengroup.org/onlinepubs/009695399/utilities/head.html
2009-06-04 17:33:30 -06:00
Steve Losh
ffd2524669 Support branch names in contrib/bash_completion
Anywhere a revision is needed a branch name can be used to specify
the tip of that branch, so branch names should be tab completed.
2009-06-03 22:58:43 -04:00
Steve Losh
15b3451b67 Support merge in contrib/bash_completion 2009-06-03 22:54:53 -04:00
Matt Mackall
56c9dee4e1 context: add a dirty method to detect modified contexts 2009-06-04 16:21:55 -05:00
Matt Mackall
7c6f521b8f dirstate: don't complain about 0-length files 2009-06-04 16:21:09 -05:00
Matt Mackall
5ae9b1fb50 commit: move some setup outside the lock 2009-06-04 16:21:03 -05:00
Shun-ichi GOTO
f8a815df63 Add cp950 as problematic encoding which is used in chinese windows. 2009-06-04 21:23:31 +09:00
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