Mercurial > hg
annotate tests/test-completion.t @ 19769:83d79a00cc24 stable
help: use full name of extensions to look up them for keyword search
Before this patch, "hg help -k KEYWORD" fails, if there is the
extension of which name includes ".", because "extensions.load()"
invoked from "help.topicmatch()" fails to look such extension up, even
though it is already loaded in.
"help.topicmatch()" invokes "extensions.load()" with the name gotten
from "extensions.enabled()". The former expects full name of extension
(= key in '[extensions]' section), but the latter returns names
shortened by "split('.')[-1]". This difference causes failure of
looking extension up.
This patch adds "shortname" argument to "extensions.enabled()" to make
it return shortened names only if it is True. "help.topicmatch()"
turns it off to get full name of extensions.
Then, this patch shortens full name of extensions by "split('.')[-1]"
for showing them in the list of extensions.
Shortening is also applied on names gotten from
"extensions.disabled()" but harmless, because it returns only
extensions directly under "hgext" and their names should not include
".".
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 23 Sep 2013 20:23:25 +0900 |
parents | 29c726e9c3ab |
children | 1df77035c814 |
rev | line source |
---|---|
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
1 Show all commands except debug commands |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
2 $ hg debugcomplete |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
3 add |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
4 addremove |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
5 annotate |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
6 archive |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
7 backout |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
8 bisect |
13368
d4ab9486e514
bookmarks: move push/pull command features to core
Matt Mackall <mpm@selenic.com>
parents:
13366
diff
changeset
|
9 bookmarks |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
10 branch |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
11 branches |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
12 bundle |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
13 cat |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
14 clone |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
15 commit |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
16 copy |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
17 diff |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
18 export |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
19 forget |
15238
2d710c12ffc0
graft: add initial implementation
Matt Mackall <mpm@selenic.com>
parents:
15221
diff
changeset
|
20 graft |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
21 grep |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
22 heads |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
23 help |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
24 identify |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
25 import |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
26 incoming |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
27 init |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
28 locate |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
29 log |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
30 manifest |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
31 merge |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
32 outgoing |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
33 parents |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
34 paths |
15830
8ed112ed774a
phases: add a phases command to display and manipulate phases
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
15580
diff
changeset
|
35 phase |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
36 pull |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
37 push |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
38 recover |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
39 remove |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
40 rename |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
41 resolve |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
42 revert |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
43 rollback |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
44 root |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
45 serve |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
46 showconfig |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
47 status |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
48 summary |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
49 tag |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
50 tags |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
51 tip |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
52 unbundle |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
53 update |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
54 verify |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
55 version |
3317
399c04369a1b
fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
56 |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
57 Show all commands that start with "a" |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
58 $ hg debugcomplete a |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
59 add |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
60 addremove |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
61 annotate |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
62 archive |
3317
399c04369a1b
fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
63 |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
64 Do not show debug commands if there are other candidates |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
65 $ hg debugcomplete d |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
66 diff |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
67 |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
68 Show debug commands if there are no other candidates |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
69 $ hg debugcomplete debug |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
70 debugancestor |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
71 debugbuilddag |
13724
fe57046e9448
commands: add debugbundle command
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13723
diff
changeset
|
72 debugbundle |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
73 debugcheckstate |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
74 debugcommands |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
75 debugcomplete |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
76 debugconfig |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
77 debugdag |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
78 debugdata |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
79 debugdate |
18962
c0b2cb62067f
debugstate: rename to debugdirstate
Mads Kiilerich <madski@unity3d.com>
parents:
18892
diff
changeset
|
80 debugdirstate |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14163
diff
changeset
|
81 debugdiscovery |
14511
30506b894359
filesets: introduce basic fileset expression parser
Matt Mackall <mpm@selenic.com>
parents:
14399
diff
changeset
|
82 debugfileset |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
83 debugfsinfo |
13741
b51bf961b3cb
wireproto: add getbundle() function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13724
diff
changeset
|
84 debuggetbundle |
13396
3e66eec9a814
add debugignore which yields the combined ignore patten of the .hgignore files
jfh <jason@jasonfharris.com>
parents:
13368
diff
changeset
|
85 debugignore |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
86 debugindex |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
87 debugindexdot |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
88 debuginstall |
13723
e615765fdcc7
wireproto: add known([id]) function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13720
diff
changeset
|
89 debugknown |
18791
d844e3879f9b
tests: add new command to test-debugcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18267
diff
changeset
|
90 debuglabelcomplete |
17071
11f26e2669aa
command: creation of obsolete marker
Pierre-Yves.David@ens-lyon.org
parents:
16992
diff
changeset
|
91 debugobsolete |
18795
704229c06dcf
sadclown: another test failure eluded me
Bryan O'Sullivan <bryano@fb.com>
parents:
18791
diff
changeset
|
92 debugpathcomplete |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
93 debugpushkey |
16249 | 94 debugpvec |
18963
c31b8dc9de67
debugrebuildstate: rename to debugrebuilddirstate
Mads Kiilerich <madski@unity3d.com>
parents:
18962
diff
changeset
|
95 debugrebuilddirstate |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
96 debugrename |
14304 | 97 debugrevlog |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
98 debugrevspec |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
99 debugsetparents |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
100 debugsub |
18068
4bec77e62c00
obsolete: compute successors set
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17981
diff
changeset
|
101 debugsuccessorssets |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
102 debugwalk |
13720
9c4e04fe267e
debug: add debugwireargs to test argument passing over the wire
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13601
diff
changeset
|
103 debugwireargs |
3317
399c04369a1b
fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
104 |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
105 Do not show the alias of a debug command if there are other candidates |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
106 (this should hide rawcommit) |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
107 $ hg debugcomplete r |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
108 recover |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
109 remove |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
110 rename |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
111 resolve |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
112 revert |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
113 rollback |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
114 root |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
115 Show the alias of a debug command if there are no other candidates |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
116 $ hg debugcomplete rawc |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
117 |
3317
399c04369a1b
fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
118 |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
119 Show the global options |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
120 $ hg debugcomplete --options | sort |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
121 --config |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
122 --cwd |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
123 --debug |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
124 --debugger |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
125 --encoding |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
126 --encodingmode |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
127 --help |
18267
5bb610f87d1d
clfilter: enforce hidden changeset globally
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
18068
diff
changeset
|
128 --hidden |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
129 --noninteractive |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
130 --profile |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
131 --quiet |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
132 --repository |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
133 --time |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
134 --traceback |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
135 --verbose |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
136 --version |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
137 -R |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
138 -h |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
139 -q |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
140 -v |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
141 -y |
3317
399c04369a1b
fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
142 |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
143 Show the options for the "serve" command |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
144 $ hg debugcomplete --options serve | sort |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
145 --accesslog |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
146 --address |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
147 --certificate |
14647
2e9f379de0ac
serve: add --cmdserver option to communicate with hg over a pipe
Idan Kamara <idankk86@gmail.com>
parents:
14645
diff
changeset
|
148 --cmdserver |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
149 --config |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
150 --cwd |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
151 --daemon |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
152 --daemon-pipefds |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
153 --debug |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
154 --debugger |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
155 --encoding |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
156 --encodingmode |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
157 --errorlog |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
158 --help |
18267
5bb610f87d1d
clfilter: enforce hidden changeset globally
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
18068
diff
changeset
|
159 --hidden |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
160 --ipv6 |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
161 --name |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
162 --noninteractive |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
163 --pid-file |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
164 --port |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
165 --prefix |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
166 --profile |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
167 --quiet |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
168 --repository |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
169 --stdio |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
170 --style |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
171 --templates |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
172 --time |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
173 --traceback |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
174 --verbose |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
175 --version |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
176 --web-conf |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
177 -6 |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
178 -A |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
179 -E |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
180 -R |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
181 -a |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
182 -d |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
183 -h |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
184 -n |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
185 -p |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
186 -q |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
187 -t |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
188 -v |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
189 -y |
3317
399c04369a1b
fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
190 |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
191 Show an error if we use --options with an ambiguous abbreviation |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
192 $ hg debugcomplete --options s |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
193 hg: command 's' is ambiguous: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
194 serve showconfig status summary |
12316
4134686b83e1
tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents:
12274
diff
changeset
|
195 [255] |
3317
399c04369a1b
fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
196 |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
197 Show all commands + options |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
198 $ hg debugcommands |
12270
166b9866580a
add: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents:
12167
diff
changeset
|
199 add: include, exclude, subrepos, dry-run |
15528
a84698badf0b
annotate: support diff whitespace filtering flags (issue3030)
Patrick Mezard <pmezard@gmail.com>
parents:
15321
diff
changeset
|
200 annotate: rev, follow, no-follow, text, user, file, date, number, changeset, line-number, ignore-all-space, ignore-space-change, ignore-blank-lines, include, exclude |
13328
a939f08fae9c
url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents:
12893
diff
changeset
|
201 clone: noupdate, updaterev, rev, branch, pull, uncompressed, ssh, remotecmd, insecure |
19445
29c726e9c3ab
tests: update for commit --secret
Matt Mackall <mpm@selenic.com>
parents:
18963
diff
changeset
|
202 commit: addremove, close-branch, amend, secret, include, exclude, message, logfile, date, user, subrepos |
12167
d2c5b0927c28
diff: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents:
12166
diff
changeset
|
203 diff: rev, change, text, git, nodates, show-function, reverse, ignore-all-space, ignore-space-change, ignore-blank-lines, unified, stat, include, exclude, subrepos |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
204 export: output, switch-parent, rev, text, git, nodates |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
205 forget: include, exclude |
13328
a939f08fae9c
url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents:
12893
diff
changeset
|
206 init: ssh, remotecmd, insecure |
18267
5bb610f87d1d
clfilter: enforce hidden changeset globally
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
18068
diff
changeset
|
207 log: follow, follow-first, date, copies, keyword, rev, removed, only-merges, user, only-branch, branch, prune, patch, git, limit, no-merges, stat, graph, style, template, include, exclude |
14852
cac04f2f475b
commands: use mergetoolopts when a command supports --tool
Martin Geisler <mg@aragost.com>
parents:
14647
diff
changeset
|
208 merge: force, rev, preview, tool |
13368
d4ab9486e514
bookmarks: move push/pull command features to core
Matt Mackall <mpm@selenic.com>
parents:
13366
diff
changeset
|
209 pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure |
d4ab9486e514
bookmarks: move push/pull command features to core
Matt Mackall <mpm@selenic.com>
parents:
13366
diff
changeset
|
210 push: force, rev, bookmark, branch, new-branch, ssh, remotecmd, insecure |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
211 remove: after, force, include, exclude |
14647
2e9f379de0ac
serve: add --cmdserver option to communicate with hg over a pipe
Idan Kamara <idankk86@gmail.com>
parents:
14645
diff
changeset
|
212 serve: accesslog, daemon, daemon-pipefds, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate |
12166
441a74b8def1
status: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents:
11924
diff
changeset
|
213 status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, copies, print0, rev, change, include, exclude, subrepos |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
214 summary: remote |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
215 update: clean, check, date, rev |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
216 addremove: similarity, include, exclude, dry-run |
12326
9d932e8e9546
tests: update debugcomplete output
Matt Mackall <mpm@selenic.com>
parents:
12316
diff
changeset
|
217 archive: no-decode, prefix, rev, type, subrepos, include, exclude |
14852
cac04f2f475b
commands: use mergetoolopts when a command supports --tool
Martin Geisler <mg@aragost.com>
parents:
14647
diff
changeset
|
218 backout: merge, parent, rev, tool, include, exclude, message, logfile, date, user |
13601
0388e3e36693
bisect: new command to extend the bisect range (issue2690)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
13477
diff
changeset
|
219 bisect: reset, good, bad, skip, extend, command, noupdate |
14189
328422b0380d
bookmarks: allow deactivating current bookmark with -i
Kevin Bullock <kbullock@ringworld.org>
parents:
14164
diff
changeset
|
220 bookmarks: force, rev, delete, rename, inactive |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
221 branch: force, clean |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
222 branches: active, closed |
13328
a939f08fae9c
url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents:
12893
diff
changeset
|
223 bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
224 cat: output, rev, decode, include, exclude |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
225 copy: after, force, include, exclude, dry-run |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
226 debugancestor: |
14163
38184a72d793
debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14053
diff
changeset
|
227 debugbuilddag: mergeable-file, overwritten-file, new-file |
13724
fe57046e9448
commands: add debugbundle command
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13723
diff
changeset
|
228 debugbundle: all |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
229 debugcheckstate: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
230 debugcommands: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
231 debugcomplete: options |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
232 debugdag: tags, branches, dots, spaces |
14323
a79fea6b3e77
debugindex etc.: add --changelog and --manifest options
Sune Foldager <cryo@cyanite.org>
parents:
14304
diff
changeset
|
233 debugdata: changelog, manifest |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
234 debugdate: extended |
18962
c0b2cb62067f
debugstate: rename to debugdirstate
Mads Kiilerich <madski@unity3d.com>
parents:
18892
diff
changeset
|
235 debugdirstate: nodates, datesort |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14163
diff
changeset
|
236 debugdiscovery: old, nonheads, ssh, remotecmd, insecure |
17370
3fe199579323
debugfileset: implement --rev, more tests
Patrick Mezard <patrick@mezard.eu>
parents:
17182
diff
changeset
|
237 debugfileset: rev |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
238 debugfsinfo: |
13741
b51bf961b3cb
wireproto: add getbundle() function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13724
diff
changeset
|
239 debuggetbundle: head, common, type |
13396
3e66eec9a814
add debugignore which yields the combined ignore patten of the .hgignore files
jfh <jason@jasonfharris.com>
parents:
13368
diff
changeset
|
240 debugignore: |
14323
a79fea6b3e77
debugindex etc.: add --changelog and --manifest options
Sune Foldager <cryo@cyanite.org>
parents:
14304
diff
changeset
|
241 debugindex: changelog, manifest, format |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
242 debugindexdot: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
243 debuginstall: |
13723
e615765fdcc7
wireproto: add known([id]) function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
13720
diff
changeset
|
244 debugknown: |
18791
d844e3879f9b
tests: add new command to test-debugcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18267
diff
changeset
|
245 debuglabelcomplete: |
17830
1cb51d65453d
debugobsolete: add --flags option
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17370
diff
changeset
|
246 debugobsolete: flags, date, user |
18795
704229c06dcf
sadclown: another test failure eluded me
Bryan O'Sullivan <bryano@fb.com>
parents:
18791
diff
changeset
|
247 debugpathcomplete: full, normal, added, removed |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
248 debugpushkey: |
16249 | 249 debugpvec: |
18963
c31b8dc9de67
debugrebuildstate: rename to debugrebuilddirstate
Mads Kiilerich <madski@unity3d.com>
parents:
18962
diff
changeset
|
250 debugrebuilddirstate: rev |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
251 debugrename: rev |
14326
6078a99af433
debugrevlog: add --dump flag to dump graphable per-revision statistics
Matt Mackall <mpm@selenic.com>
parents:
14323
diff
changeset
|
252 debugrevlog: changelog, manifest, dump |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
253 debugrevspec: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
254 debugsetparents: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
255 debugsub: rev |
18068
4bec77e62c00
obsolete: compute successors set
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17981
diff
changeset
|
256 debugsuccessorssets: |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
257 debugwalk: include, exclude |
14053
139fb11210bb
fix broken tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
13920
diff
changeset
|
258 debugwireargs: three, four, five, ssh, remotecmd, insecure |
16992
55e7f352b1d3
graft: allow -r to specify revisions
Thomas Arendsen Hein <thomas@intevation.de>
parents:
16711
diff
changeset
|
259 graft: rev, continue, edit, log, currentdate, currentuser, date, user, tool, dry-run |
13920
332e400764e5
grep: don't print data from binary files for matches (issue2614)
Md. O. Shayan <mdoshayan@gmail.com>
parents:
13767
diff
changeset
|
260 grep: print0, all, text, follow, ignore-case, files-with-matches, line-number, rev, user, date, include, exclude |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
261 heads: rev, topo, active, closed, style, template |
16711
497deec204d1
help: add --keyword (-k) for searching help
Augie Fackler <raf@durin42.com>
parents:
16660
diff
changeset
|
262 help: extension, command, keyword |
15580
5a7733563c2e
id: add command line options for handling ssh and https urls
Mads Kiilerich <mads@kiilerich.com>
parents:
15528
diff
changeset
|
263 identify: rev, num, id, branch, tags, bookmarks, ssh, remotecmd, insecure |
15221 | 264 import: strip, base, edit, force, no-commit, bypass, exact, import-branch, message, logfile, date, user, similarity |
17182
cdf1532d89c6
incoming/outgoing: handle --graph in core
Patrick Mezard <patrick@mezard.eu>
parents:
17181
diff
changeset
|
265 incoming: force, newest-first, bundle, rev, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
266 locate: rev, print0, fullpath, include, exclude |
14399
71938479eff9
add new option --all to manifest command
Adrian Buehlmann <adrian@cadifra.com>
parents:
14326
diff
changeset
|
267 manifest: rev, all |
17182
cdf1532d89c6
incoming/outgoing: handle --graph in core
Patrick Mezard <patrick@mezard.eu>
parents:
17181
diff
changeset
|
268 outgoing: force, rev, newest-first, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
269 parents: rev, style, template |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
270 paths: |
17981
e689b0d91546
command: remove phase from the list of basic command
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
17830
diff
changeset
|
271 phase: public, draft, secret, force, rev |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
272 recover: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
273 rename: after, force, include, exclude, dry-run |
14852
cac04f2f475b
commands: use mergetoolopts when a command supports --tool
Martin Geisler <mg@aragost.com>
parents:
14647
diff
changeset
|
274 resolve: all, list, mark, unmark, no-status, tool, include, exclude |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
275 revert: all, date, rev, no-backup, include, exclude, dry-run |
15183
59e8bc22506e
rollback: avoid unsafe rollback when not at tip (issue2998)
Greg Ward <greg@gerg.ca>
parents:
14852
diff
changeset
|
276 rollback: dry-run, force |
11924
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
277 root: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
278 showconfig: untrusted |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
279 tag: force, local, rev, remove, edit, message, date, user |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
280 tags: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
281 tip: patch, git, style, template |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
282 unbundle: update |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
283 verify: |
487152f29db2
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
7880
diff
changeset
|
284 version: |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
285 |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
286 $ hg init a |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
287 $ cd a |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
288 $ echo fee > fee |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
289 $ hg ci -q -Amfee |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
290 $ hg tag fee |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
291 $ mkdir fie |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
292 $ echo dead > fie/dead |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
293 $ echo live > fie/live |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
294 $ hg bookmark fo |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
295 $ hg branch -q fie |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
296 $ hg ci -q -Amfie |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
297 $ echo fo > fo |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
298 $ hg branch -qf default |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
299 $ hg ci -q -Amfo |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
300 $ echo Fum > Fum |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
301 $ hg ci -q -AmFum |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
302 $ hg bookmark Fum |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
303 |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
304 Test debugpathcomplete |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
305 |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
306 $ hg debugpathcomplete f |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
307 fee |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
308 fie/ |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
309 fo |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
310 $ hg debugpathcomplete -f f |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
311 fee |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
312 fie/dead |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
313 fie/live |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
314 fo |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
315 |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
316 $ hg rm Fum |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
317 $ hg debugpathcomplete -r F |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
318 Fum |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
319 |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
320 If one directory and no files match, give an ambiguous answer |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
321 |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
322 $ hg debugpathcomplete fi |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
323 fie/ |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
324 fie/. |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
325 |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
326 Test debuglabelcomplete |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
327 |
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
328 $ hg debuglabelcomplete |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
329 Fum |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
330 default |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
331 fee |
18892
46c0ca1ef7e1
debuglabelcomplete: compute active branch heads correctly
Bryan O'Sullivan <bryano@fb.com>
parents:
18800
diff
changeset
|
332 fie |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
333 fo |
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
334 tip |
18798
0ea3b8e8ce7a
tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents:
18797
diff
changeset
|
335 $ hg debuglabelcomplete f |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
336 fee |
18892
46c0ca1ef7e1
debuglabelcomplete: compute active branch heads correctly
Bryan O'Sullivan <bryano@fb.com>
parents:
18800
diff
changeset
|
337 fie |
18800
a624210e4866
test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents:
18798
diff
changeset
|
338 fo |