annotate tests/test-completion.t @ 30774:eaa5607132a2

debugcommands: stub for debugupgraderepo command Currently, if Mercurial introduces a new repository/store feature or changes behavior of an existing feature, users must perform an `hg clone` to create a new repository with hopefully the correct/optimal settings. Unfortunately, even `hg clone` may not give the correct results. For example, if you do a local `hg clone`, you may get hardlinks to revlog files that inherit the old state. If you `hg clone` from a remote or `hg clone --pull`, changegroup application may bypass some optimization, such as converting to generaldelta. Optimizing a repository is harder than it seems and requires more than a simple `hg` command invocation. This commit starts the process of changing that. We introduce `hg debugupgraderepo`, a command that performs an in-place upgrade of a repository to use new, optimal features. The command is just a stub right now. Features will be added in subsequent commits. This commit does foreshadow some of the behavior of the new command, notably that it doesn't do anything by default and that it takes arguments that influence what actions it performs. These will be explained more in subsequent commits.
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 24 Nov 2016 16:24:09 -0800
parents 80fef5251099
children 9c2977ceaa46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
20570
c21e1e3ab915 config: move showconfig code and add config as primary alias
Matt Mackall <mpm@selenic.com>
parents: 20497
diff changeset
16 config
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
17 copy
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
18 diff
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
19 export
22423
edf07a804ac4 files: add new command unifying locate and manifest functionality
Matt Mackall <mpm@selenic.com>
parents: 22274
diff changeset
20 files
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
21 forget
15238
2d710c12ffc0 graft: add initial implementation
Matt Mackall <mpm@selenic.com>
parents: 15221
diff changeset
22 graft
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
23 grep
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
24 heads
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
25 help
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
26 identify
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
27 import
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
28 incoming
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
29 init
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
30 locate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
31 log
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
32 manifest
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
33 merge
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
34 outgoing
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
35 parents
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
36 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
37 phase
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
38 pull
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
39 push
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
40 recover
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
41 remove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
42 rename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
43 resolve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
44 revert
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
45 rollback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
46 root
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
47 serve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
48 status
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
49 summary
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
50 tag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
51 tags
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
52 tip
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
53 unbundle
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
54 update
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
55 verify
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
56 version
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
57
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
58 Show all commands that start with "a"
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
59 $ hg debugcomplete a
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
60 add
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
61 addremove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
62 annotate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
63 archive
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
64
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
65 Do not show debug commands if there are other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
66 $ hg debugcomplete d
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
67 diff
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
68
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
69 Show debug commands if there are no other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
70 $ hg debugcomplete debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
71 debugancestor
26758
bde7ef23340d commands: support consuming stream clone bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26757
diff changeset
72 debugapplystreamclonebundle
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
73 debugbuilddag
13724
fe57046e9448 commands: add debugbundle command
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13723
diff changeset
74 debugbundle
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
75 debugcheckstate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
76 debugcommands
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
77 debugcomplete
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
78 debugconfig
26757
43708f92f471 commands: support creating stream clone bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26501
diff changeset
79 debugcreatestreamclonebundle
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
80 debugdag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
81 debugdata
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
82 debugdate
27263
4efb36ecaaec commands: add debugdeltachain command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27256
diff changeset
83 debugdeltachain
18962
c0b2cb62067f debugstate: rename to debugdirstate
Mads Kiilerich <madski@unity3d.com>
parents: 18892
diff changeset
84 debugdirstate
14164
cb98fed52495 discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14163
diff changeset
85 debugdiscovery
26351
8c7d8d5e1e0f mercurial: add debugextensions command (issue4676)
liscju <piotr.listkiewicz@gmail.com>
parents: 26024
diff changeset
86 debugextensions
14511
30506b894359 filesets: introduce basic fileset expression parser
Matt Mackall <mpm@selenic.com>
parents: 14399
diff changeset
87 debugfileset
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
88 debugfsinfo
13741
b51bf961b3cb wireproto: add getbundle() function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13724
diff changeset
89 debuggetbundle
13396
3e66eec9a814 add debugignore which yields the combined ignore patten of the .hgignore files
jfh <jason@jasonfharris.com>
parents: 13368
diff changeset
90 debugignore
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
91 debugindex
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
92 debugindexdot
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
93 debuginstall
13723
e615765fdcc7 wireproto: add known([id]) function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13720
diff changeset
94 debugknown
18791
d844e3879f9b tests: add new command to test-debugcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18267
diff changeset
95 debuglabelcomplete
22559
4e0b696a1cb3 commands: add debuglocks to report/clear lock state
Matt Mackall <mpm@selenic.com>
parents: 22480
diff changeset
96 debuglocks
26501
0748083f2898 commands: add a new debug command to print merge state
Siddharth Agarwal <sid0@fb.com>
parents: 26351
diff changeset
97 debugmergestate
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
98 debugnamecomplete
17071
11f26e2669aa command: creation of obsolete marker
Pierre-Yves.David@ens-lyon.org
parents: 16992
diff changeset
99 debugobsolete
18795
704229c06dcf sadclown: another test failure eluded me
Bryan O'Sullivan <bryano@fb.com>
parents: 18791
diff changeset
100 debugpathcomplete
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
101 debugpushkey
16249
0d175ac527c1 pvec: introduce pvecs
Matt Mackall <mpm@selenic.com>
parents: 15830
diff changeset
102 debugpvec
18963
c31b8dc9de67 debugrebuildstate: rename to debugrebuilddirstate
Mads Kiilerich <madski@unity3d.com>
parents: 18962
diff changeset
103 debugrebuilddirstate
25652
2882d6886919 repair: add functionality to rebuild fncache
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25119
diff changeset
104 debugrebuildfncache
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
105 debugrename
14304
64c22db0bc38 add debugrevlog command
Sune Foldager <cryo@cyanite.org>
parents: 14286
diff changeset
106 debugrevlog
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
107 debugrevspec
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
108 debugsetparents
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
109 debugsub
18068
4bec77e62c00 obsolete: compute successors set
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 17981
diff changeset
110 debugsuccessorssets
28548
b7a31068cc80 templater: add debugtemplate command
Yuya Nishihara <yuya@tcha.org>
parents: 28440
diff changeset
111 debugtemplate
30774
eaa5607132a2 debugcommands: stub for debugupgraderepo command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29950
diff changeset
112 debugupgraderepo
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
113 debugwalk
13720
9c4e04fe267e debug: add debugwireargs to test argument passing over the wire
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13601
diff changeset
114 debugwireargs
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
115
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
116 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
117 (this should hide rawcommit)
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
118 $ hg debugcomplete r
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
119 recover
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
120 remove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
121 rename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
122 resolve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
123 revert
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
124 rollback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
125 root
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
126 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
127 $ hg debugcomplete rawc
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
128
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
129
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
130 Show the global options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
131 $ hg debugcomplete --options | sort
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
132 --config
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
133 --cwd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
134 --debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
135 --debugger
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
136 --encoding
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
137 --encodingmode
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
138 --help
18267
5bb610f87d1d clfilter: enforce hidden changeset globally
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18068
diff changeset
139 --hidden
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
140 --noninteractive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
141 --profile
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
142 --quiet
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
143 --repository
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
144 --time
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
145 --traceback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
146 --verbose
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
147 --version
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
148 -R
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
149 -h
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
150 -q
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
151 -v
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
152 -y
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
153
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
154 Show the options for the "serve" command
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
155 $ hg debugcomplete --options serve | sort
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
156 --accesslog
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
157 --address
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
158 --certificate
14647
2e9f379de0ac serve: add --cmdserver option to communicate with hg over a pipe
Idan Kamara <idankk86@gmail.com>
parents: 14645
diff changeset
159 --cmdserver
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
160 --config
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
161 --cwd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
162 --daemon
28194
7623ba92af72 serve: rename --daemon-pipefds to --daemon-postexec (BC)
Jun Wu <quark@fb.com>
parents: 27890
diff changeset
163 --daemon-postexec
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
164 --debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
165 --debugger
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
166 --encoding
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
167 --encodingmode
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
168 --errorlog
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
169 --help
18267
5bb610f87d1d clfilter: enforce hidden changeset globally
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18068
diff changeset
170 --hidden
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
171 --ipv6
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
172 --name
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
173 --noninteractive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
174 --pid-file
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
175 --port
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
176 --prefix
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
177 --profile
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
178 --quiet
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
179 --repository
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
180 --stdio
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
181 --style
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
182 --templates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
183 --time
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
184 --traceback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
185 --verbose
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
186 --version
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
187 --web-conf
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
188 -6
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
189 -A
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
190 -E
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
191 -R
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
192 -a
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
193 -d
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
194 -h
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
195 -n
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
196 -p
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
197 -q
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
198 -t
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
199 -v
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
200 -y
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
201
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
202 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
203 $ hg debugcomplete --options s
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
204 hg: command 's' is ambiguous:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
205 serve showconfig status summary
12316
4134686b83e1 tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents: 12274
diff changeset
206 [255]
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
207
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
208 Show all commands + options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
209 $ hg debugcommands
12270
166b9866580a add: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 12167
diff changeset
210 add: include, exclude, subrepos, dry-run
22480
dff638170c48 annotate: port to generic templater enabled by hidden -T option
Yuya Nishihara <yuya@tcha.org>
parents: 22429
diff changeset
211 annotate: rev, follow, no-follow, text, user, file, date, number, changeset, line-number, ignore-all-space, ignore-space-change, ignore-blank-lines, include, exclude, template
13328
a939f08fae9c url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents: 12893
diff changeset
212 clone: noupdate, updaterev, rev, branch, pull, uncompressed, ssh, remotecmd, insecure
24278
0b94b68aace9 record: add interactive option to the commit command
Laurent Charignon <lcharignon@fb.com>
parents: 24258
diff changeset
213 commit: addremove, close-branch, amend, secret, edit, interactive, include, exclude, message, logfile, date, user, subrepos
24455
16961d43dc89 diff: rename --relative option to --root
Sean Farley <sean@farley.io>
parents: 24432
diff changeset
214 diff: rev, change, text, git, nodates, noprefix, show-function, reverse, ignore-all-space, ignore-space-change, ignore-blank-lines, unified, stat, root, include, exclude, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
215 export: output, switch-parent, rev, text, git, nodates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
216 forget: include, exclude
13328
a939f08fae9c url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents: 12893
diff changeset
217 init: ssh, remotecmd, insecure
18267
5bb610f87d1d clfilter: enforce hidden changeset globally
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18068
diff changeset
218 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
219 merge: force, rev, preview, tool
13368
d4ab9486e514 bookmarks: move push/pull command features to core
Matt Mackall <mpm@selenic.com>
parents: 13366
diff changeset
220 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
221 push: force, rev, bookmark, branch, new-branch, ssh, remotecmd, insecure
23325
4165cfd67519 remove: recurse into subrepositories with --subrepos/-S flag
Matt Harbison <matt_harbison@yahoo.com>
parents: 23298
diff changeset
222 remove: after, force, subrepos, include, exclude
28194
7623ba92af72 serve: rename --daemon-pipefds to --daemon-postexec (BC)
Jun Wu <quark@fb.com>
parents: 27890
diff changeset
223 serve: accesslog, daemon, daemon-postexec, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate
22429
7a7eed5176a4 commands: add hidden -T option for files/manifest/status/tags
Matt Mackall <mpm@selenic.com>
parents: 22423
diff changeset
224 status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, copies, print0, rev, change, include, exclude, subrepos, template
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
225 summary: remote
21552
61151f429a5f update: introduce --tool for controlling the merge tool
Mads Kiilerich <madski@unity3d.com>
parents: 21021
diff changeset
226 update: clean, check, date, rev, tool
23538
ccfb56450f21 addremove: add support for the -S flag
Matt Harbison <matt_harbison@yahoo.com>
parents: 23325
diff changeset
227 addremove: similarity, subrepos, include, exclude, dry-run
12326
9d932e8e9546 tests: update debugcomplete output
Matt Mackall <mpm@selenic.com>
parents: 12316
diff changeset
228 archive: no-decode, prefix, rev, type, subrepos, include, exclude
27890
ce76c4d2b85c backout: commit changeset by default (BC)
Ruslan Sayfutdinov <sayfutdinov@fb.com>
parents: 27885
diff changeset
229 backout: merge, commit, no-commit, parent, rev, edit, 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
230 bisect: reset, good, bad, skip, extend, command, noupdate
22776
564ae7d2ec9b bookmarks: port to generic templater
Yuya Nishihara <yuya@tcha.org>
parents: 22703
diff changeset
231 bookmarks: force, rev, delete, rename, inactive, template
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
232 branch: force, clean
22703
bd6e95cb82b4 branches: port to generic templater
Yuya Nishihara <yuya@tcha.org>
parents: 22559
diff changeset
233 branches: active, closed, template
13328
a939f08fae9c url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents: 12893
diff changeset
234 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
235 cat: output, rev, decode, include, exclude
29950
80fef5251099 config: add template support
Mathias De Maré <mathias.demare@gmail.com>
parents: 29924
diff changeset
236 config: untrusted, edit, local, global, template
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
237 copy: after, force, include, exclude, dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
238 debugancestor:
26758
bde7ef23340d commands: support consuming stream clone bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26757
diff changeset
239 debugapplystreamclonebundle:
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14053
diff changeset
240 debugbuilddag: mergeable-file, overwritten-file, new-file
27885
2370c66110cb commands: teach debugbundle to print bundle specification
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27763
diff changeset
241 debugbundle: all, spec
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
242 debugcheckstate:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
243 debugcommands:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
244 debugcomplete: options
26757
43708f92f471 commands: support creating stream clone bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26501
diff changeset
245 debugcreatestreamclonebundle:
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
246 debugdag: tags, branches, dots, spaces
25119
49c583ca48c4 treemanifest: add --dir option to debug{revlog,data,index}
Martin von Zweigbergk <martinvonz@google.com>
parents: 24455
diff changeset
247 debugdata: changelog, manifest, dir
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
248 debugdate: extended
27263
4efb36ecaaec commands: add debugdeltachain command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27256
diff changeset
249 debugdeltachain: changelog, manifest, dir, template
18962
c0b2cb62067f debugstate: rename to debugdirstate
Mads Kiilerich <madski@unity3d.com>
parents: 18892
diff changeset
250 debugdirstate: nodates, datesort
14164
cb98fed52495 discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14163
diff changeset
251 debugdiscovery: old, nonheads, ssh, remotecmd, insecure
26351
8c7d8d5e1e0f mercurial: add debugextensions command (issue4676)
liscju <piotr.listkiewicz@gmail.com>
parents: 26024
diff changeset
252 debugextensions: template
17370
3fe199579323 debugfileset: implement --rev, more tests
Patrick Mezard <patrick@mezard.eu>
parents: 17182
diff changeset
253 debugfileset: rev
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
254 debugfsinfo:
13741
b51bf961b3cb wireproto: add getbundle() function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13724
diff changeset
255 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
256 debugignore:
25119
49c583ca48c4 treemanifest: add --dir option to debug{revlog,data,index}
Martin von Zweigbergk <martinvonz@google.com>
parents: 24455
diff changeset
257 debugindex: changelog, manifest, dir, format
27256
45124eaab4e2 commands.debugindexdot: use cmdutil.openrevlog()
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26758
diff changeset
258 debugindexdot: changelog, manifest, dir
28440
855d9b2eea67 debuginstall: convert to formatter
timeless <timeless@mozdev.org>
parents: 28194
diff changeset
259 debuginstall: template
13723
e615765fdcc7 wireproto: add known([id]) function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13720
diff changeset
260 debugknown:
18791
d844e3879f9b tests: add new command to test-debugcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18267
diff changeset
261 debuglabelcomplete:
22559
4e0b696a1cb3 commands: add debuglocks to report/clear lock state
Matt Mackall <mpm@selenic.com>
parents: 22480
diff changeset
262 debuglocks: force-lock, force-wlock
26501
0748083f2898 commands: add a new debug command to print merge state
Siddharth Agarwal <sid0@fb.com>
parents: 26351
diff changeset
263 debugmergestate:
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
264 debugnamecomplete:
29795
142ae01820a3 debugobsolete: add formatter support (issue5134)
Yuya Nishihara <yuya@tcha.org>
parents: 28795
diff changeset
265 debugobsolete: flags, record-parents, rev, index, delete, date, user, template
18795
704229c06dcf sadclown: another test failure eluded me
Bryan O'Sullivan <bryano@fb.com>
parents: 18791
diff changeset
266 debugpathcomplete: full, normal, added, removed
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
267 debugpushkey:
16249
0d175ac527c1 pvec: introduce pvecs
Matt Mackall <mpm@selenic.com>
parents: 15830
diff changeset
268 debugpvec:
26024
84c00f03e06c dirstate: add --minimal flag to debugrebuilddirstate
Durham Goode <durham@fb.com>
parents: 25652
diff changeset
269 debugrebuilddirstate: rev, minimal
25652
2882d6886919 repair: add functionality to rebuild fncache
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25119
diff changeset
270 debugrebuildfncache:
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
271 debugrename: rev
25119
49c583ca48c4 treemanifest: add --dir option to debug{revlog,data,index}
Martin von Zweigbergk <martinvonz@google.com>
parents: 24455
diff changeset
272 debugrevlog: changelog, manifest, dir, dump
29924
45bf56a89197 debugrevspec: add option to verify optimized result
Yuya Nishihara <yuya@tcha.org>
parents: 29923
diff changeset
273 debugrevspec: optimize, show-stage, no-optimized, verify-optimized
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
274 debugsetparents:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
275 debugsub: rev
18068
4bec77e62c00 obsolete: compute successors set
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 17981
diff changeset
276 debugsuccessorssets:
28548
b7a31068cc80 templater: add debugtemplate command
Yuya Nishihara <yuya@tcha.org>
parents: 28440
diff changeset
277 debugtemplate: rev, define
30774
eaa5607132a2 debugcommands: stub for debugupgraderepo command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29950
diff changeset
278 debugupgraderepo: optimize, run
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
279 debugwalk: include, exclude
14053
139fb11210bb fix broken tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 13920
diff changeset
280 debugwireargs: three, four, five, ssh, remotecmd, insecure
24413
a8595176dd64 subrepo: add basic support to hgsubrepo for the files command
Matt Harbison <matt_harbison@yahoo.com>
parents: 24359
diff changeset
281 files: rev, print0, include, exclude, template, subrepos
21979
c2863cfe8a8a graft: allow regrafting ancestors with --force (issue3220)
Siddharth Agarwal <sid0@fb.com>
parents: 21712
diff changeset
282 graft: rev, continue, edit, log, force, currentdate, currentuser, date, user, tool, dry-run
29858
33461139c31c grep: add formatter support
Yuya Nishihara <yuya@tcha.org>
parents: 29840
diff changeset
283 grep: print0, all, text, follow, ignore-case, files-with-matches, line-number, rev, user, date, template, include, exclude
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
284 heads: rev, topo, active, closed, style, template
27763
0ac5b7ee5dc2 help: add --system flag to get help for various platform(s)
timeless <timeless@mozdev.org>
parents: 27728
diff changeset
285 help: extension, command, keyword, system
15580
5a7733563c2e id: add command line options for handling ssh and https urls
Mads Kiilerich <mads@kiilerich.com>
parents: 15528
diff changeset
286 identify: rev, num, id, branch, tags, bookmarks, ssh, remotecmd, insecure
24258
093e8a5e995f commands.import: accept a prefix option
Siddharth Agarwal <sid0@fb.com>
parents: 24127
diff changeset
287 import: strip, base, edit, force, no-commit, bypass, partial, exact, prefix, import-branch, message, logfile, date, user, similarity
17182
cdf1532d89c6 incoming/outgoing: handle --graph in core
Patrick Mezard <patrick@mezard.eu>
parents: 17181
diff changeset
288 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
289 locate: rev, print0, fullpath, include, exclude
22429
7a7eed5176a4 commands: add hidden -T option for files/manifest/status/tags
Matt Mackall <mpm@selenic.com>
parents: 22423
diff changeset
290 manifest: rev, all, template
17182
cdf1532d89c6 incoming/outgoing: handle --graph in core
Patrick Mezard <patrick@mezard.eu>
parents: 17181
diff changeset
291 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
292 parents: rev, style, template
27728
294037159c64 paths: port to generic templater
Yuya Nishihara <yuya@tcha.org>
parents: 27263
diff changeset
293 paths: template
17981
e689b0d91546 command: remove phase from the list of basic command
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 17830
diff changeset
294 phase: public, draft, secret, force, rev
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
295 recover:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
296 rename: after, force, include, exclude, dry-run
24127
4cb8002658d6 resolve: port to generic templater
Yuya Nishihara <yuya@tcha.org>
parents: 23762
diff changeset
297 resolve: all, list, mark, unmark, no-status, tool, include, exclude, template
24359
521fe8287dd5 revert: add flag to make revert interactive
Laurent Charignon <lcharignon@fb.com>
parents: 24278
diff changeset
298 revert: all, date, rev, no-backup, interactive, include, exclude, dry-run
15183
59e8bc22506e rollback: avoid unsafe rollback when not at tip (issue2998)
Greg Ward <greg@gerg.ca>
parents: 14852
diff changeset
299 rollback: dry-run, force
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
300 root:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
301 tag: force, local, rev, remove, edit, message, date, user
22429
7a7eed5176a4 commands: add hidden -T option for files/manifest/status/tags
Matt Mackall <mpm@selenic.com>
parents: 22423
diff changeset
302 tags: template
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
303 tip: patch, git, style, template
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
304 unbundle: update
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
305 verify:
29840
4435d4c951ec version: add formatter support
Yuya Nishihara <yuya@tcha.org>
parents: 29795
diff changeset
306 version: template
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
307
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
308 $ hg init a
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
309 $ cd a
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
310 $ echo fee > fee
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
311 $ hg ci -q -Amfee
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
312 $ hg tag fee
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
313 $ mkdir fie
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
314 $ echo dead > fie/dead
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
315 $ echo live > fie/live
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
316 $ hg bookmark fo
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
317 $ hg branch -q fie
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
318 $ hg ci -q -Amfie
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
319 $ echo fo > fo
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
320 $ hg branch -qf default
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
321 $ hg ci -q -Amfo
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
322 $ echo Fum > Fum
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
323 $ hg ci -q -AmFum
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
324 $ hg bookmark Fum
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 debugpathcomplete
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 debugpathcomplete f
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
329 fee
20136
1df77035c814 pathcomplete: remove ambiguous entries for sole completion on a directory
Sean Farley <sean.michael.farley@gmail.com>
parents: 19445
diff changeset
330 fie
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
331 fo
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
332 $ hg debugpathcomplete -f f
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
333 fee
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
334 fie/dead
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
335 fie/live
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
336 fo
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
337
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
338 $ hg rm Fum
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
339 $ hg debugpathcomplete -r F
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
340 Fum
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
341
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
342 Test debugnamecomplete
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
343
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
344 $ hg debugnamecomplete
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
345 Fum
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
346 default
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
347 fee
18892
46c0ca1ef7e1 debuglabelcomplete: compute active branch heads correctly
Bryan O'Sullivan <bryano@fb.com>
parents: 18800
diff changeset
348 fie
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
349 fo
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
350 tip
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
351 $ hg debugnamecomplete f
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
352 fee
18892
46c0ca1ef7e1 debuglabelcomplete: compute active branch heads correctly
Bryan O'Sullivan <bryano@fb.com>
parents: 18800
diff changeset
353 fie
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
354 fo