tests/test-completion.t
author Raphaël Gomès <rgomes@octobus.net>
Thu, 09 Jun 2022 10:45:27 +0200
changeset 49344 44319aa4a2a4
parent 49249 db19f6be0442
child 49408 2bbd7bc7d6c4
permissions -rw-r--r--
hg-cpython: fallback when encountering an unknown matcher At this point in the process, nothing user-visible has happened, it is still safe to fallback. This can happen now that we're going to be using "container matchers" like unionmatcher and intersectionmatcher. This is easier and less error-prone than recursive checking beforehand since only the presence of a transformation case will allow the process to continue.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
42581
bb135a784b70 abort: added logic for of hg abort
Taapas Agrawal <taapas2897@gmail.com>
parents: 42542
diff changeset
     3
  abort
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     4
  add
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     5
  addremove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     6
  annotate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     7
  archive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     8
  backout
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     9
  bisect
13368
d4ab9486e514 bookmarks: move push/pull command features to core
Matt Mackall <mpm@selenic.com>
parents: 13366
diff changeset
    10
  bookmarks
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    11
  branch
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    12
  branches
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    13
  bundle
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    14
  cat
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    15
  clone
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    16
  commit
20570
c21e1e3ab915 config: move showconfig code and add config as primary alias
Matt Mackall <mpm@selenic.com>
parents: 20497
diff changeset
    17
  config
42612
3c16b9c0b099 continue: added logic for hg continue
Taapas Agrawal <taapas2897@gmail.com>
parents: 42581
diff changeset
    18
  continue
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    19
  copy
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    20
  diff
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    21
  export
22423
edf07a804ac4 files: add new command unifying locate and manifest functionality
Matt Mackall <mpm@selenic.com>
parents: 22274
diff changeset
    22
  files
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    23
  forget
15238
2d710c12ffc0 graft: add initial implementation
Matt Mackall <mpm@selenic.com>
parents: 15221
diff changeset
    24
  graft
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    25
  grep
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    26
  heads
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    27
  help
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    28
  identify
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    29
  import
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    30
  incoming
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    31
  init
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    32
  locate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    33
  log
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    34
  manifest
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    35
  merge
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    36
  outgoing
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    37
  parents
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    38
  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
    39
  phase
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    40
  pull
46368
bb3a5c0df06b purge: move extension into core mercurial
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 46262
diff changeset
    41
  purge
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    42
  push
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    43
  recover
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    44
  remove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    45
  rename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    46
  resolve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    47
  revert
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    48
  rollback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    49
  root
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    50
  serve
42541
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 42418
diff changeset
    51
  shelve
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    52
  status
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    53
  summary
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    54
  tag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    55
  tags
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    56
  tip
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    57
  unbundle
42541
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 42418
diff changeset
    58
  unshelve
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    59
  update
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    60
  verify
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    61
  version
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
    62
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    63
Show all commands that start with "a"
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    64
  $ hg debugcomplete a
42581
bb135a784b70 abort: added logic for of hg abort
Taapas Agrawal <taapas2897@gmail.com>
parents: 42542
diff changeset
    65
  abort
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    66
  add
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    67
  addremove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    68
  annotate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    69
  archive
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
    70
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    71
Do not show debug commands if there are other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    72
  $ hg debugcomplete d
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    73
  diff
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    74
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    75
Show debug commands if there are no other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    76
  $ hg debugcomplete debug
49228
b909dd35d9ab deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49183
diff changeset
    77
  debug-delta-find
47815
b30a53ffbf9b debugcommands: introduce a debug command to repair repos affected by issue6528
Raphaël Gomès <rgomes@octobus.net>
parents: 47683
diff changeset
    78
  debug-repair-issue6528
49249
db19f6be0442 debugindex: rename to debugindex debug-revlog-index
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49228
diff changeset
    79
  debug-revlog-index
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    80
  debugancestor
45149
87047efbc6a6 debugcommands: create new debugantivirusrunning command
Augie Fackler <augie@google.com>
parents: 45107
diff changeset
    81
  debugantivirusrunning
26758
bde7ef23340d commands: support consuming stream clone bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26757
diff changeset
    82
  debugapplystreamclonebundle
44433
f82d2d4e71db debugbackupbundle: introduce command to interact with strip backups
Pulkit Goyal <7895pulkit@gmail.com>
parents: 44396
diff changeset
    83
  debugbackupbundle
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    84
  debugbuilddag
13724
fe57046e9448 commands: add debugbundle command
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13723
diff changeset
    85
  debugbundle
34959
7ee2d859f720 debug: add a debugcapabilities commands
Boris Feld <boris.feld@octobus.net>
parents: 34857
diff changeset
    86
  debugcapabilities
45665
308ca5528ee6 changing-files: add a debug command display changed files
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 45486
diff changeset
    87
  debugchangedfiles
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    88
  debugcheckstate
31120
c4e8fa2b1c40 color: move 'debugcolor' into the 'debugcommands' modules
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 31104
diff changeset
    89
  debugcolor
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    90
  debugcommands
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    91
  debugcomplete
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    92
  debugconfig
26757
43708f92f471 commands: support creating stream clone bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26501
diff changeset
    93
  debugcreatestreamclonebundle
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    94
  debugdag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    95
  debugdata
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    96
  debugdate
27263
4efb36ecaaec commands: add debugdeltachain command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27256
diff changeset
    97
  debugdeltachain
18962
c0b2cb62067f debugstate: rename to debugdirstate
Mads Kiilerich <madski@unity3d.com>
parents: 18892
diff changeset
    98
  debugdirstate
49183
22279b604a88 fix-ci: backed out changeset 308e45f7b455
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49153
diff changeset
    99
  debugdirstateignorepatternshash
14164
cb98fed52495 discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14163
diff changeset
   100
  debugdiscovery
35562
6580cf751418 debug: add a 'debugdownload' command
Boris Feld <boris.feld@octobus.net>
parents: 35395
diff changeset
   101
  debugdownload
26351
8c7d8d5e1e0f mercurial: add debugextensions command (issue4676)
liscju <piotr.listkiewicz@gmail.com>
parents: 26024
diff changeset
   102
  debugextensions
14511
30506b894359 filesets: introduce basic fileset expression parser
Matt Mackall <mpm@selenic.com>
parents: 14399
diff changeset
   103
  debugfileset
35336
c3e4f196b6e0 debugformat: add a 'debugformat' command
Boris Feld <boris.feld@octobus.net>
parents: 35304
diff changeset
   104
  debugformat
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   105
  debugfsinfo
13741
b51bf961b3cb wireproto: add getbundle() function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13724
diff changeset
   106
  debuggetbundle
13396
3e66eec9a814 add debugignore which yields the combined ignore patten of the .hgignore files
jfh <jason@jasonfharris.com>
parents: 13368
diff changeset
   107
  debugignore
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   108
  debugindexdot
39980
d71e0ba34d9b debugcommands: add a debugindexstats command
Martin von Zweigbergk <martinvonz@google.com>
parents: 39760
diff changeset
   109
  debugindexstats
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   110
  debuginstall
13723
e615765fdcc7 wireproto: add known([id]) function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13720
diff changeset
   111
  debugknown
18791
d844e3879f9b tests: add new command to test-debugcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18267
diff changeset
   112
  debuglabelcomplete
22559
4e0b696a1cb3 commands: add debuglocks to report/clear lock state
Matt Mackall <mpm@selenic.com>
parents: 22480
diff changeset
   113
  debuglocks
38781
0a57945aaf7f manifest: persist the manifestfulltext cache
Martijn Pieters <mj@zopatista.com>
parents: 38648
diff changeset
   114
  debugmanifestfulltextcache
26501
0748083f2898 commands: add a new debug command to print merge state
Siddharth Agarwal <sid0@fb.com>
parents: 26351
diff changeset
   115
  debugmergestate
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
   116
  debugnamecomplete
44307
c577bb4a04d4 nodemap: have some python code writing a nodemap in persistent binary form
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 44290
diff changeset
   117
  debugnodemap
17071
11f26e2669aa command: creation of obsolete marker
Pierre-Yves.David@ens-lyon.org
parents: 16992
diff changeset
   118
  debugobsolete
41755
a4358f7345b4 context: introduce p[12]copies() methods and debugp[12]copies commands
Martin von Zweigbergk <martinvonz@google.com>
parents: 41515
diff changeset
   119
  debugp1copies
a4358f7345b4 context: introduce p[12]copies() methods and debugp[12]copies commands
Martin von Zweigbergk <martinvonz@google.com>
parents: 41515
diff changeset
   120
  debugp2copies
18795
704229c06dcf sadclown: another test failure eluded me
Bryan O'Sullivan <bryano@fb.com>
parents: 18791
diff changeset
   121
  debugpathcomplete
41515
7dc160a57025 debugcommands: add a debugpathcopies command
Martin von Zweigbergk <martinvonz@google.com>
parents: 41089
diff changeset
   122
  debugpathcopies
35929
5f029d03cf71 debugcommands: introduce debugpeer command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35745
diff changeset
   123
  debugpeer
32256
9bc36198338e debugcommands: add debugpickmergetool to examine which merge tool is chosen
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 32005
diff changeset
   124
  debugpickmergetool
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   125
  debugpushkey
16249
0d175ac527c1 pvec: introduce pvecs
Matt Mackall <mpm@selenic.com>
parents: 15830
diff changeset
   126
  debugpvec
18963
c31b8dc9de67 debugrebuildstate: rename to debugrebuilddirstate
Mads Kiilerich <madski@unity3d.com>
parents: 18962
diff changeset
   127
  debugrebuilddirstate
25652
2882d6886919 repair: add functionality to rebuild fncache
Gregory Szorc <gregory.szorc@gmail.com>
parents: 25119
diff changeset
   128
  debugrebuildfncache
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   129
  debugrename
45107
4a28f5e8408e debugcommands: introduce new debugrequirements command
Pulkit Goyal <7895pulkit@gmail.com>
parents: 44545
diff changeset
   130
  debugrequires
14304
64c22db0bc38 add debugrevlog command
Sune Foldager <cryo@cyanite.org>
parents: 14286
diff changeset
   131
  debugrevlog
39282
828a45233036 debugcommands: introduce debugrevlogindex (BC)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 39276
diff changeset
   132
  debugrevlogindex
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   133
  debugrevspec
36527
44dc34b8d17b debugcommands: add debugserve command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35929
diff changeset
   134
  debugserve
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   135
  debugsetparents
46392
f25c770c217b debugshell: add a simple command for starting an interactive shell
Joerg Sonnenberger <joerg@bec.de>
parents: 46368
diff changeset
   136
  debugshell
43041
559ac8411f12 sidedata: add a debugsidedata command
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42831
diff changeset
   137
  debugsidedata
33493
9a9f95214f46 debug: add a method to check the state of, and built an SSL cert chain
Matt Harbison <matt_harbison@yahoo.com>
parents: 33274
diff changeset
   138
  debugssl
45865
d7a508a75d72 strip: move into core
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 45805
diff changeset
   139
  debugstrip
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   140
  debugsub
18068
4bec77e62c00 obsolete: compute successors set
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 17981
diff changeset
   141
  debugsuccessorssets
44290
d8b53385b1bc tags: add a debug command to display .hg/cache/hgtagsfnodes1
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents: 43725
diff changeset
   142
  debugtagscache
28548
b7a31068cc80 templater: add debugtemplate command
Yuya Nishihara <yuya@tcha.org>
parents: 28440
diff changeset
   143
  debugtemplate
36792
15c050b5d599 ui: add debug commands to test interactive prompt
Yuya Nishihara <yuya@tcha.org>
parents: 36534
diff changeset
   144
  debuguigetpass
15c050b5d599 ui: add debug commands to test interactive prompt
Yuya Nishihara <yuya@tcha.org>
parents: 36534
diff changeset
   145
  debuguiprompt
32265
ccef71de7d41 caches: introduce a 'debugupdatecaches' command
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 32256
diff changeset
   146
  debugupdatecaches
30774
eaa5607132a2 debugcommands: stub for debugupgraderepo command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 29950
diff changeset
   147
  debugupgraderepo
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   148
  debugwalk
36954
efc4fb344c05 debug: add debugwhyunstable that explains instabilities
Anton Shestakov <av6@dwimlabs.net>
parents: 36939
diff changeset
   149
  debugwhyunstable
13720
9c4e04fe267e debug: add debugwireargs to test argument passing over the wire
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13601
diff changeset
   150
  debugwireargs
36528
72e487851a53 debugcommands: add debugwireproto command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 36527
diff changeset
   151
  debugwireproto
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   152
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   153
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
   154
(this should hide rawcommit)
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   155
  $ hg debugcomplete r
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   156
  recover
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   157
  remove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   158
  rename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   159
  resolve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   160
  revert
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   161
  rollback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   162
  root
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   163
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
   164
  $ hg debugcomplete rawc
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   165
  
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   166
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   167
Show the global options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   168
  $ hg debugcomplete --options | sort
31104
8346b2f09e79 color: add the definition of '--color' in core
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 30993
diff changeset
   169
  --color
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   170
  --config
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   171
  --cwd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   172
  --debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   173
  --debugger
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   174
  --encoding
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   175
  --encodingmode
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   176
  --help
18267
5bb610f87d1d clfilter: enforce hidden changeset globally
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18068
diff changeset
   177
  --hidden
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   178
  --noninteractive
30993
9c2977ceaa46 pager: move more behavior into core
Augie Fackler <augie@google.com>
parents: 30774
diff changeset
   179
  --pager
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   180
  --profile
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   181
  --quiet
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   182
  --repository
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
  -R
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   188
  -h
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   189
  -q
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   190
  -v
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   191
  -y
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   192
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   193
Show the options for the "serve" command
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   194
  $ hg debugcomplete --options serve | sort
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   195
  --accesslog
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   196
  --address
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   197
  --certificate
14647
2e9f379de0ac serve: add --cmdserver option to communicate with hg over a pipe
Idan Kamara <idankk86@gmail.com>
parents: 14645
diff changeset
   198
  --cmdserver
31104
8346b2f09e79 color: add the definition of '--color' in core
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 30993
diff changeset
   199
  --color
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   200
  --config
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   201
  --cwd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   202
  --daemon
28194
7623ba92af72 serve: rename --daemon-pipefds to --daemon-postexec (BC)
Jun Wu <quark@fb.com>
parents: 27890
diff changeset
   203
  --daemon-postexec
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   204
  --debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   205
  --debugger
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   206
  --encoding
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   207
  --encodingmode
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   208
  --errorlog
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   209
  --help
18267
5bb610f87d1d clfilter: enforce hidden changeset globally
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 18068
diff changeset
   210
  --hidden
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   211
  --ipv6
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   212
  --name
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   213
  --noninteractive
30993
9c2977ceaa46 pager: move more behavior into core
Augie Fackler <augie@google.com>
parents: 30774
diff changeset
   214
  --pager
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   215
  --pid-file
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   216
  --port
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   217
  --prefix
38199
aea29e81753a serve: add option print-url
Nicola Spanti <nicola.spanti@logilab.fr>
parents: 38015
diff changeset
   218
  --print-url
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   219
  --profile
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   220
  --quiet
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   221
  --repository
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   222
  --stdio
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   223
  --style
32005
2406dbba49bd serve: add support for Mercurial subrepositories
Matt Harbison <matt_harbison@yahoo.com>
parents: 31822
diff changeset
   224
  --subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   225
  --templates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   226
  --time
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   227
  --traceback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   228
  --verbose
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   229
  --version
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   230
  --web-conf
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   231
  -6
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   232
  -A
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   233
  -E
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   234
  -R
32005
2406dbba49bd serve: add support for Mercurial subrepositories
Matt Harbison <matt_harbison@yahoo.com>
parents: 31822
diff changeset
   235
  -S
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   236
  -a
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   237
  -d
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   238
  -h
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   239
  -n
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   240
  -p
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   241
  -q
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   242
  -t
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   243
  -v
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   244
  -y
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   245
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   246
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
   247
  $ hg debugcomplete --options s
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   248
  hg: command 's' is ambiguous:
42541
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 42418
diff changeset
   249
      serve shelve showconfig status summary
46262
9c9e0b4b2ca7 error: use detailed exit code 10 for command errors
Martin von Zweigbergk <martinvonz@google.com>
parents: 46237
diff changeset
   250
  [10]
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   251
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   252
Show all commands + options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   253
  $ hg debugcommands
42581
bb135a784b70 abort: added logic for of hg abort
Taapas Agrawal <taapas2897@gmail.com>
parents: 42542
diff changeset
   254
  abort: dry-run
12270
166b9866580a add: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 12167
diff changeset
   255
  add: include, exclude, subrepos, dry-run
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   256
  addremove: similarity, subrepos, include, exclude, dry-run
34013
da07367d683b mdiff: add a --ignore-space-at-eol option
David Soria Parra <davidsp@fb.com>
parents: 33693
diff changeset
   257
  annotate: rev, follow, no-follow, text, user, file, date, number, changeset, line-number, skip, ignore-all-space, ignore-space-change, ignore-blank-lines, ignore-space-at-eol, include, exclude, template
12326
9d932e8e9546 tests: update debugcomplete output
Matt Mackall <mpm@selenic.com>
parents: 12316
diff changeset
   258
  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
   259
  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
   260
  bisect: reset, good, bad, skip, extend, command, noupdate
39754
c48738923dba bookmarks: remove --active in favor of --list
Yuya Nishihara <yuya@tcha.org>
parents: 39753
diff changeset
   261
  bookmarks: force, rev, delete, rename, inactive, list, template
35745
3bd8ab4c80a5 branch: add a --rev flag to change branch name of given revisions
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35704
diff changeset
   262
  branch: force, clean, rev
41064
4506f801e492 branches: add -r option to show branch name(s) of a given rev (issue5948)
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 40686
diff changeset
   263
  branches: active, closed, rev, template
13328
a939f08fae9c url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents: 12893
diff changeset
   264
  bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure
32584
746e12a767b3 cat: add formatter support
Yuya Nishihara <yuya@tcha.org>
parents: 32486
diff changeset
   265
  cat: output, rev, decode, include, exclude, template
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   266
  clone: noupdate, updaterev, rev, branch, pull, uncompressed, stream, ssh, remotecmd, insecure
42542
2e1d9414ff71 commit: add --force-close-branch flag to close a non-head changeset
Sushil khanchi <sushilkhanchi97@gmail.com>
parents: 42541
diff changeset
   267
  commit: addremove, close-branch, amend, secret, edit, force-close-branch, interactive, include, exclude, message, logfile, date, user, subrepos
47415
b1b3127227be config: add an experimental option to list all known config
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47351
diff changeset
   268
  config: untrusted, exp-all-known, edit, local, source, shared, non-shared, global, template
42612
3c16b9c0b099 continue: added logic for hg continue
Taapas Agrawal <taapas2897@gmail.com>
parents: 42581
diff changeset
   269
  continue: dry-run
44365
7c4b98a4e536 copy: add experimetal support for unmarking committed copies
Martin von Zweigbergk <martinvonz@google.com>
parents: 44364
diff changeset
   270
  copy: forget, after, at-rev, force, include, exclude, dry-run
49228
b909dd35d9ab deltas: add a debug-delta-find command to analyse delta search
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49183
diff changeset
   271
  debug-delta-find: changelog, manifest, dir, template
47817
855463b5fe49 debugcommands: add a `--paranoid` option to `debug-repair-issue-6528`
Raphaël Gomès <rgomes@octobus.net>
parents: 47815
diff changeset
   272
  debug-repair-issue6528: to-report, from-report, paranoid, dry-run
49249
db19f6be0442 debugindex: rename to debugindex debug-revlog-index
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49228
diff changeset
   273
  debug-revlog-index: changelog, manifest, dir, template
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   274
  debugancestor: 
45149
87047efbc6a6 debugcommands: create new debugantivirusrunning command
Augie Fackler <augie@google.com>
parents: 45107
diff changeset
   275
  debugantivirusrunning: 
26758
bde7ef23340d commands: support consuming stream clone bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26757
diff changeset
   276
  debugapplystreamclonebundle: 
44433
f82d2d4e71db debugbackupbundle: introduce command to interact with strip backups
Pulkit Goyal <7895pulkit@gmail.com>
parents: 44396
diff changeset
   277
  debugbackupbundle: recover, patch, git, limit, no-merges, stat, graph, style, template
48691
b4bc9c4f925d debugbuilddag: add a flag to allow running it from a non-empty repository
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47875
diff changeset
   278
  debugbuilddag: mergeable-file, overwritten-file, new-file, from-existing
32694
3ef319e9505f debugbundle: add --part-type flag to emit only named part types
Danek Duvall <danek.duvall@oracle.com>
parents: 32626
diff changeset
   279
  debugbundle: all, part-type, spec
34959
7ee2d859f720 debug: add a debugcapabilities commands
Boris Feld <boris.feld@octobus.net>
parents: 34857
diff changeset
   280
  debugcapabilities: 
46479
c2435280ca63 copy-tracing: add a --compute flag to debugchangedfiles
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46476
diff changeset
   281
  debugchangedfiles: compute
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   282
  debugcheckstate: 
31120
c4e8fa2b1c40 color: move 'debugcolor' into the 'debugcommands' modules
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 31104
diff changeset
   283
  debugcolor: style
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   284
  debugcommands: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   285
  debugcomplete: options
26757
43708f92f471 commands: support creating stream clone bundles
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26501
diff changeset
   286
  debugcreatestreamclonebundle: 
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   287
  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
   288
  debugdata: changelog, manifest, dir
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   289
  debugdate: extended
27263
4efb36ecaaec commands: add debugdeltachain command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27256
diff changeset
   290
  debugdeltachain: changelog, manifest, dir, template
49183
22279b604a88 fix-ci: backed out changeset 308e45f7b455
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 49153
diff changeset
   291
  debugdirstateignorepatternshash: 
49152
eaaf4f98c9f1 dirstate-v2: add flag to `debugstate` to print docket information
Raphaël Gomès <rgomes@octobus.net>
parents: 48691
diff changeset
   292
  debugdirstate: nodates, dates, datesort, docket, all
46768
3a8cf5b9c820 debugdiscovery: add support for Json output
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 46496
diff changeset
   293
  debugdiscovery: old, nonheads, rev, seed, local-as-revs, remote-as-revs, ssh, remotecmd, insecure, template
35562
6580cf751418 debug: add a 'debugdownload' command
Boris Feld <boris.feld@octobus.net>
parents: 35395
diff changeset
   294
  debugdownload: output
26351
8c7d8d5e1e0f mercurial: add debugextensions command (issue4676)
liscju <piotr.listkiewicz@gmail.com>
parents: 26024
diff changeset
   295
  debugextensions: template
38802
f0a574dbfae9 debugfileset: add option to show matcher representation
Yuya Nishihara <yuya@tcha.org>
parents: 38801
diff changeset
   296
  debugfileset: rev, all-files, show-matcher, show-stage
35336
c3e4f196b6e0 debugformat: add a 'debugformat' command
Boris Feld <boris.feld@octobus.net>
parents: 35304
diff changeset
   297
  debugformat: template
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   298
  debugfsinfo: 
13741
b51bf961b3cb wireproto: add getbundle() function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13724
diff changeset
   299
  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
   300
  debugignore: 
27256
45124eaab4e2 commands.debugindexdot: use cmdutil.openrevlog()
Gregory Szorc <gregory.szorc@gmail.com>
parents: 26758
diff changeset
   301
  debugindexdot: changelog, manifest, dir
39980
d71e0ba34d9b debugcommands: add a debugindexstats command
Martin von Zweigbergk <martinvonz@google.com>
parents: 39760
diff changeset
   302
  debugindexstats: 
28440
855d9b2eea67 debuginstall: convert to formatter
timeless <timeless@mozdev.org>
parents: 28194
diff changeset
   303
  debuginstall: template
13723
e615765fdcc7 wireproto: add known([id]) function
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13720
diff changeset
   304
  debugknown: 
18791
d844e3879f9b tests: add new command to test-debugcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18267
diff changeset
   305
  debuglabelcomplete: 
46237
bc884e31b8c8 debuglock: rename flag names to better clarity
Pulkit Goyal <7895pulkit@gmail.com>
parents: 46087
diff changeset
   306
  debuglocks: force-free-lock, force-free-wlock, set-lock, set-wlock
38781
0a57945aaf7f manifest: persist the manifestfulltext cache
Martijn Pieters <mj@zopatista.com>
parents: 38648
diff changeset
   307
  debugmanifestfulltextcache: clear, add
44396
acbfa31cfaf2 debugmergestate: make templated
Martin von Zweigbergk <martinvonz@google.com>
parents: 44365
diff changeset
   308
  debugmergestate: style, template
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
   309
  debugnamecomplete: 
44334
6614b301ea58 nodemap: add a flag to dump the details of the docket
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 44318
diff changeset
   310
  debugnodemap: dump-new, dump-disk, check, metadata
32626
00a7f7b1af9c obsolete: add a function to compute "exclusive-markers" for a set of nodes
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 32584
diff changeset
   311
  debugobsolete: flags, record-parents, rev, exclusive, index, delete, date, user, template
41755
a4358f7345b4 context: introduce p[12]copies() methods and debugp[12]copies commands
Martin von Zweigbergk <martinvonz@google.com>
parents: 41515
diff changeset
   312
  debugp1copies: rev
a4358f7345b4 context: introduce p[12]copies() methods and debugp[12]copies commands
Martin von Zweigbergk <martinvonz@google.com>
parents: 41515
diff changeset
   313
  debugp2copies: rev
18795
704229c06dcf sadclown: another test failure eluded me
Bryan O'Sullivan <bryano@fb.com>
parents: 18791
diff changeset
   314
  debugpathcomplete: full, normal, added, removed
41515
7dc160a57025 debugcommands: add a debugpathcopies command
Martin von Zweigbergk <martinvonz@google.com>
parents: 41089
diff changeset
   315
  debugpathcopies: include, exclude
35929
5f029d03cf71 debugcommands: introduce debugpeer command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35745
diff changeset
   316
  debugpeer: 
32256
9bc36198338e debugcommands: add debugpickmergetool to examine which merge tool is chosen
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents: 32005
diff changeset
   317
  debugpickmergetool: rev, changedelete, include, exclude, tool
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   318
  debugpushkey: 
16249
0d175ac527c1 pvec: introduce pvecs
Matt Mackall <mpm@selenic.com>
parents: 15830
diff changeset
   319
  debugpvec: 
26024
84c00f03e06c dirstate: add --minimal flag to debugrebuilddirstate
Durham Goode <durham@fb.com>
parents: 25652
diff changeset
   320
  debugrebuilddirstate: rev, minimal
47875
0fb328bb2459 debugrebuildfncache: add a cheaper option to rebuild the fncache
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents: 47817
diff changeset
   321
  debugrebuildfncache: only-data
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   322
  debugrename: rev
45107
4a28f5e8408e debugcommands: introduce new debugrequirements command
Pulkit Goyal <7895pulkit@gmail.com>
parents: 44545
diff changeset
   323
  debugrequires: 
25119
49c583ca48c4 treemanifest: add --dir option to debug{revlog,data,index}
Martin von Zweigbergk <martinvonz@google.com>
parents: 24455
diff changeset
   324
  debugrevlog: changelog, manifest, dir, dump
39282
828a45233036 debugcommands: introduce debugrevlogindex (BC)
Gregory Szorc <gregory.szorc@gmail.com>
parents: 39276
diff changeset
   325
  debugrevlogindex: changelog, manifest, dir, format
32797
bcca357bb792 debugrevspec: add option to suppress list of computed revisions
Yuya Nishihara <yuya@tcha.org>
parents: 32796
diff changeset
   326
  debugrevspec: optimize, show-revs, show-set, show-stage, no-optimized, verify-optimized
36527
44dc34b8d17b debugcommands: add debugserve command
Gregory Szorc <gregory.szorc@gmail.com>
parents: 35929
diff changeset
   327
  debugserve: sshstdio, logiofd, logiofile
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   328
  debugsetparents: 
46392
f25c770c217b debugshell: add a simple command for starting an interactive shell
Joerg Sonnenberger <joerg@bec.de>
parents: 46368
diff changeset
   329
  debugshell: 
43041
559ac8411f12 sidedata: add a debugsidedata command
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42831
diff changeset
   330
  debugsidedata: changelog, manifest, dir
33493
9a9f95214f46 debug: add a method to check the state of, and built an SSL cert chain
Matt Harbison <matt_harbison@yahoo.com>
parents: 33274
diff changeset
   331
  debugssl: 
45865
d7a508a75d72 strip: move into core
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 45805
diff changeset
   332
  debugstrip: rev, force, no-backup, nobackup, , keep, bookmark, soft
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   333
  debugsub: rev
33274
68f3e819d41d obsolete: closest divergent support
Boris Feld <boris.feld@octobus.net>
parents: 33051
diff changeset
   334
  debugsuccessorssets: closest
44290
d8b53385b1bc tags: add a debug command to display .hg/cache/hgtagsfnodes1
Valentin Gatien-Baron <vgatien-baron@janestreet.com>
parents: 43725
diff changeset
   335
  debugtagscache: 
28548
b7a31068cc80 templater: add debugtemplate command
Yuya Nishihara <yuya@tcha.org>
parents: 28440
diff changeset
   336
  debugtemplate: rev, define
36792
15c050b5d599 ui: add debug commands to test interactive prompt
Yuya Nishihara <yuya@tcha.org>
parents: 36534
diff changeset
   337
  debuguigetpass: prompt
15c050b5d599 ui: add debug commands to test interactive prompt
Yuya Nishihara <yuya@tcha.org>
parents: 36534
diff changeset
   338
  debuguiprompt: prompt
32265
ccef71de7d41 caches: introduce a 'debugupdatecaches' command
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 32256
diff changeset
   339
  debugupdatecaches: 
45997
7c539f0febbe upgrade: add an explicite --filelogs arguments
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 45900
diff changeset
   340
  debugupgraderepo: optimize, run, backup, changelog, manifest, filelogs
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   341
  debugwalk: include, exclude
36954
efc4fb344c05 debug: add debugwhyunstable that explains instabilities
Anton Shestakov <av6@dwimlabs.net>
parents: 36939
diff changeset
   342
  debugwhyunstable: 
14053
139fb11210bb fix broken tests
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 13920
diff changeset
   343
  debugwireargs: three, four, five, ssh, remotecmd, insecure
37718
ad1c07008e0b debugcommands: ability to suppress logging of handshake
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37604
diff changeset
   344
  debugwireproto: localssh, peer, noreadstderr, nologhandshake, ssh, remotecmd, insecure
46496
d57e607d9e33 diff: replace --merge option by config option
Martin von Zweigbergk <martinvonz@google.com>
parents: 46479
diff changeset
   345
  diff: rev, from, to, change, text, git, binary, nodates, noprefix, show-function, reverse, ignore-all-space, ignore-space-change, ignore-blank-lines, ignore-space-at-eol, unified, stat, root, include, exclude, subrepos
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   346
  export: bookmark, output, switch-parent, rev, text, git, binary, nodates, template
24413
a8595176dd64 subrepo: add basic support to hgsubrepo for the files command
Matt Harbison <matt_harbison@yahoo.com>
parents: 24359
diff changeset
   347
  files: rev, print0, include, exclude, template, subrepos
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   348
  forget: interactive, include, exclude, dry-run
40434
3c0d5016b2be graft: introduce --base option for using custom base revision while merging
Mads Kiilerich <mads@kiilerich.com>
parents: 40295
diff changeset
   349
  graft: rev, base, continue, stop, abort, edit, log, no-commit, force, currentdate, currentuser, date, user, tool, dry-run
38648
ffd08ec22955 grep: rename --allfiles to --all-files
Yuya Nishihara <yuya@tcha.org>
parents: 38610
diff changeset
   350
  grep: print0, all, diff, text, follow, ignore-case, files-with-matches, line-number, rev, all-files, user, date, template, include, exclude
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   351
  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
   352
  help: extension, command, keyword, system
33051
15a79ac823e8 identify: add template support
Matt Harbison <matt_harbison@yahoo.com>
parents: 32797
diff changeset
   353
  identify: rev, num, id, branch, tags, bookmarks, ssh, remotecmd, insecure, template
43725
71dbd6f6fcb8 import: add a --secret option
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 43041
diff changeset
   354
  import: strip, base, secret, 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
   355
  incoming: force, newest-first, bundle, rev, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   356
  init: ssh, remotecmd, insecure
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   357
  locate: rev, print0, fullpath, include, exclude
45900
0aa118f18d4b log: add bookmark option to "hg log"
Sebastien Boisvert <sebhtml@protonmail.com>
parents: 45865
diff changeset
   358
  log: follow, follow-first, date, copies, keyword, rev, line-range, removed, only-merges, user, only-branch, branch, bookmark, prune, patch, git, limit, no-merges, stat, graph, style, template, include, exclude
22429
7a7eed5176a4 commands: add hidden -T option for files/manifest/status/tags
Matt Mackall <mpm@selenic.com>
parents: 22423
diff changeset
   359
  manifest: rev, all, template
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   360
  merge: force, rev, preview, abort, tool
17182
cdf1532d89c6 incoming/outgoing: handle --graph in core
Patrick Mezard <patrick@mezard.eu>
parents: 17181
diff changeset
   361
  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
   362
  parents: rev, style, template
27728
294037159c64 paths: port to generic templater
Yuya Nishihara <yuya@tcha.org>
parents: 27263
diff changeset
   363
  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
   364
  phase: public, draft, secret, force, rev
44545
bd7b2c8d06cc pull: add `--confirm` flag to confirm before writing changes
Pulkit Goyal <7895pulkit@gmail.com>
parents: 44433
diff changeset
   365
  pull: update, force, confirm, rev, bookmark, branch, ssh, remotecmd, insecure
46368
bb3a5c0df06b purge: move extension into core mercurial
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 46262
diff changeset
   366
  purge: abort-on-err, all, ignored, dirs, files, print, print0, confirm, include, exclude
45805
49535e56fab8 push: add --all-bookmarks option
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 45783
diff changeset
   367
  push: force, rev, bookmark, all-bookmarks, branch, new-branch, pushvars, publish, ssh, remotecmd, insecure
42144
013de80bf90e recover: add a --[no-]verify flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42030
diff changeset
   368
  recover: verify
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   369
  remove: after, force, subrepos, include, exclude, dry-run
46886
37f49d462394 rename: add --forget option and stop suggesting `hg revert` for undoing
Martin von Zweigbergk <martinvonz@google.com>
parents: 46768
diff changeset
   370
  rename: forget, after, at-rev, force, include, exclude, dry-run
39392
5d00e6061ba2 resolve: add a flag for the default behavior of re-merging
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39282
diff changeset
   371
  resolve: all, list, mark, unmark, no-status, re-merge, tool, include, exclude, template
24359
521fe8287dd5 revert: add flag to make revert interactive
Laurent Charignon <lcharignon@fb.com>
parents: 24278
diff changeset
   372
  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
   373
  rollback: dry-run, force
42418
9803323048b6 root: add support for -Tformatter option
Yuya Nishihara <yuya@tcha.org>
parents: 42156
diff changeset
   374
  root: template
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   375
  serve: accesslog, daemon, daemon-postexec, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate, print-url, subrepos
42541
3de4f17f4824 shelve: move shelve extension to core
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 42418
diff changeset
   376
  shelve: addremove, unknown, cleanup, date, delete, edit, keep, list, message, name, patch, interactive, stat, include, exclude
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   377
  status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, terse, copies, print0, rev, change, include, exclude, subrepos, template
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   378
  summary: remote
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   379
  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
   380
  tags: template
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   381
  tip: patch, git, style, template
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   382
  unbundle: update
42616
5162753c4c14 unshelve: add interactive mode
Navaneeth Suresh <navaneeths1998@gmail.com>
parents: 42612
diff changeset
   383
  unshelve: abort, continue, interactive, keep, name, tool, date
40295
fa88170c10bb help: adding a proper declaration for shortlist/basic commands (API)
Rodrigo Damazio <rdamazio@google.com>
parents: 39980
diff changeset
   384
  update: clean, check, merge, date, rev, tool
42156
496ac8a02380 verify: introduce an experimental --full flag
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42144
diff changeset
   385
  verify: full
29840
4435d4c951ec version: add formatter support
Yuya Nishihara <yuya@tcha.org>
parents: 29795
diff changeset
   386
  version: template
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   387
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   388
  $ hg init a
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   389
  $ cd a
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   390
  $ echo fee > fee
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   391
  $ hg ci -q -Amfee
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   392
  $ hg tag fee
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   393
  $ mkdir fie
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   394
  $ echo dead > fie/dead
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   395
  $ echo live > fie/live
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   396
  $ hg bookmark fo
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   397
  $ hg branch -q fie
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   398
  $ hg ci -q -Amfie
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   399
  $ echo fo > fo
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   400
  $ hg branch -qf default
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   401
  $ hg ci -q -Amfo
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   402
  $ echo Fum > Fum
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   403
  $ hg ci -q -AmFum
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   404
  $ hg bookmark Fum
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   405
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   406
Test debugpathcomplete
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   407
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   408
  $ hg debugpathcomplete f
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   409
  fee
20136
1df77035c814 pathcomplete: remove ambiguous entries for sole completion on a directory
Sean Farley <sean.michael.farley@gmail.com>
parents: 19445
diff changeset
   410
  fie
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   411
  fo
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   412
  $ hg debugpathcomplete -f f
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   413
  fee
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   414
  fie/dead
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   415
  fie/live
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   416
  fo
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   417
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   418
  $ hg rm Fum
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   419
  $ hg debugpathcomplete -r F
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   420
  Fum
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   421
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
   422
Test debugnamecomplete
18798
0ea3b8e8ce7a tests: test debugpathcomplete and debuglabelcomplete
Bryan O'Sullivan <bryano@fb.com>
parents: 18797
diff changeset
   423
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
   424
  $ hg debugnamecomplete
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   425
  Fum
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   426
  default
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   427
  fee
18892
46c0ca1ef7e1 debuglabelcomplete: compute active branch heads correctly
Bryan O'Sullivan <bryano@fb.com>
parents: 18800
diff changeset
   428
  fie
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   429
  fo
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   430
  tip
23762
0390cc327dd5 debugnamecomplete: rename from debuglabelcomplete
Sean Farley <sean.michael.farley@gmail.com>
parents: 23615
diff changeset
   431
  $ hg debugnamecomplete f
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   432
  fee
18892
46c0ca1ef7e1 debuglabelcomplete: compute active branch heads correctly
Bryan O'Sullivan <bryano@fb.com>
parents: 18800
diff changeset
   433
  fie
18800
a624210e4866 test-completion: test completion of tags
Bryan O'Sullivan <bryano@fb.com>
parents: 18798
diff changeset
   434
  fo
31402
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   435
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   436
Test debuglabelcomplete, a deprecated name for debugnamecomplete that is still
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   437
used for completions in some shells.
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   438
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   439
  $ hg debuglabelcomplete
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   440
  Fum
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   441
  default
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   442
  fee
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   443
  fie
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   444
  fo
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   445
  tip
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   446
  $ hg debuglabelcomplete f
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   447
  fee
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   448
  fie
ea0395eec67b debuglabelcomplete: fix to call debugnamecomplete in new location
Kyle Lippincott <spectral@google.com>
parents: 31166
diff changeset
   449
  fo