Mercurial > hg
annotate tests/test-alias.out @ 11798:1ab3d8977bdf
tests: unify test-symlinks
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Thu, 12 Aug 2010 20:08:02 +0900 |
parents | ee8f36a6c766 |
children |
rev | line source |
---|---|
4801 | 1 % basic |
2 % unknown | |
8655 | 3 alias 'unknown' resolves to unknown command 'bargle' |
10021
0022f5c5459e
help: don't display bogus help messages for invalid aliases
Brodie Rao <me+hg@dackz.net>
parents:
9993
diff
changeset
|
4 alias 'unknown' resolves to unknown command 'bargle' |
4801 | 5 % ambiguous |
8655 | 6 alias 'ambiguous' resolves to ambiguous command 's' |
10021
0022f5c5459e
help: don't display bogus help messages for invalid aliases
Brodie Rao <me+hg@dackz.net>
parents:
9993
diff
changeset
|
7 alias 'ambiguous' resolves to ambiguous command 's' |
4801 | 8 % recursive |
8655 | 9 alias 'recursive' resolves to unknown command 'recursive' |
10021
0022f5c5459e
help: don't display bogus help messages for invalid aliases
Brodie Rao <me+hg@dackz.net>
parents:
9993
diff
changeset
|
10 alias 'recursive' resolves to unknown command 'recursive' |
8655 | 11 % no definition |
12 no definition for alias 'nodefinition' | |
10021
0022f5c5459e
help: don't display bogus help messages for invalid aliases
Brodie Rao <me+hg@dackz.net>
parents:
9993
diff
changeset
|
13 no definition for alias 'nodefinition' |
11695
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
14 % invalid options |
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
15 error in definition for alias 'no--cwd': --cwd may only be given on the command line |
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
16 error in definition for alias 'no--cwd': --cwd may only be given on the command line |
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
17 error in definition for alias 'no-R': -R may only be given on the command line |
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
18 error in definition for alias 'no-R': -R may only be given on the command line |
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
19 error in definition for alias 'no--repo': --repo may only be given on the command line |
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
20 error in definition for alias 'no--repo': --repo may only be given on the command line |
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
21 error in definition for alias 'no--repository': --repository may only be given on the command line |
ee8f36a6c766
alias: improved diagnostic when arguments include --cwd, etc.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents:
11681
diff
changeset
|
22 error in definition for alias 'no--repository': --repository may only be given on the command line |
9993
8bce1e0d2801
alias: do not crash when aliased command has no usage help text
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8655
diff
changeset
|
23 % no usage |
8bce1e0d2801
alias: do not crash when aliased command has no usage help text
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
8655
diff
changeset
|
24 no rollback information available |
4801 | 25 adding foo |
26 % with opts | |
5764
8a5d8fb59ed2
Backed out changeset c2a21fe60994
Matt Mackall <mpm@selenic.com>
parents:
5762
diff
changeset
|
27 C foo |
8519
5fbee915ea5d
alias: a0104303f400 did not correctly handle whitespace in the args
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
8477
diff
changeset
|
28 % with opts and whitespace |
5fbee915ea5d
alias: a0104303f400 did not correctly handle whitespace in the args
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
8477
diff
changeset
|
29 0 e63c23eaa88a | 1970-01-01 00:00 +0000 |
8477
a0104303f400
alias: honor the [defaults] section, fix issue1642
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
5764
diff
changeset
|
30 % interaction with defaults |
a0104303f400
alias: honor the [defaults] section, fix issue1642
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
5764
diff
changeset
|
31 0:e63c23eaa88a |
a0104303f400
alias: honor the [defaults] section, fix issue1642
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
5764
diff
changeset
|
32 -1:000000000000 |
8655 | 33 % properly recursive |
34 changeset: -1:0000000000000000000000000000000000000000 | |
35 parent: -1:0000000000000000000000000000000000000000 | |
36 parent: -1:0000000000000000000000000000000000000000 | |
37 manifest: -1:0000000000000000000000000000000000000000 | |
38 user: | |
39 date: Thu Jan 01 00:00:00 1970 +0000 | |
40 extra: branch=default | |
41 | |
10793
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
42 % path expanding |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
43 # HG changeset patch |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
44 # User test |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
45 # Date 0 0 |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
46 # Node ID e63c23eaa88ae77967edcf4ea194d31167c478b0 |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
47 # Parent 0000000000000000000000000000000000000000 |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
48 foo |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
49 |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
50 diff -r 000000000000 -r e63c23eaa88a foo |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
51 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
52 +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
53 @@ -0,0 +1,1 @@ |
16df09a54113
expand paths in aliases
Alexander Solovyov <piranha@piranha.org.ua>
parents:
10021
diff
changeset
|
54 +foo |
11524
24965bb270b7
dispatch: add shell aliases
Steve Losh <steve@stevelosh.com>
parents:
10793
diff
changeset
|
55 % shell aliases |
24965bb270b7
dispatch: add shell aliases
Steve Losh <steve@stevelosh.com>
parents:
10793
diff
changeset
|
56 foo |
11676
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
57 % invalid arguments |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
58 hg rt: invalid arguments |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
59 hg rt |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
60 |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
61 alias for: hg root |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
62 |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
63 print the root (top) of the current working directory |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
64 |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
65 Print the root directory of the current repository. |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
66 |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
67 Returns 0 on success. |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
68 |
e4357c214bf1
alias: ensure checksignature() is applied directly to the command (issue2286)
Brodie Rao <brodie@bitheap.org>
parents:
10793
diff
changeset
|
69 use "hg -v help rt" to show global options |