tests/test-debugcomplete.t
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
Tue, 22 Mar 2011 07:38:32 +0100
changeset 13720 9c4e04fe267e
parent 13601 0388e3e36693
child 13723 e615765fdcc7
permissions -rw-r--r--
debug: add debugwireargs to test argument passing over the wire Tests argument passing locally, via HTTP, and via SSH. This is mainly preparation for the next patch.
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
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     3
  add
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     4
  addremove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     5
  annotate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     6
  archive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     7
  backout
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
     8
  bisect
13368
d4ab9486e514 bookmarks: move push/pull command features to core
Matt Mackall <mpm@selenic.com>
parents: 13366
diff changeset
     9
  bookmarks
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    10
  branch
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    11
  branches
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    12
  bundle
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    13
  cat
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    14
  clone
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    15
  commit
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    16
  copy
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    17
  diff
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    18
  export
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    19
  forget
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    20
  grep
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    21
  heads
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    22
  help
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    23
  identify
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    24
  import
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    25
  incoming
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    26
  init
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    27
  locate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    28
  log
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    29
  manifest
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    30
  merge
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    31
  outgoing
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    32
  parents
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    33
  paths
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    34
  pull
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    35
  push
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    36
  recover
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    37
  remove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    38
  rename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    39
  resolve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    40
  revert
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    41
  rollback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    42
  root
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    43
  serve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    44
  showconfig
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    45
  status
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    46
  summary
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    47
  tag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    48
  tags
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    49
  tip
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    50
  unbundle
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    51
  update
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    52
  verify
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    53
  version
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
    54
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    55
Show all commands that start with "a"
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    56
  $ hg debugcomplete a
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    57
  add
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    58
  addremove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    59
  annotate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    60
  archive
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
    61
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    62
Do not show debug commands if there are other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    63
  $ hg debugcomplete d
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    64
  diff
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    65
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    66
Show debug commands if there are no other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    67
  $ hg debugcomplete debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    68
  debugancestor
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    69
  debugbuilddag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    70
  debugcheckstate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    71
  debugcommands
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    72
  debugcomplete
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    73
  debugconfig
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    74
  debugdag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    75
  debugdata
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    76
  debugdate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    77
  debugfsinfo
13396
3e66eec9a814 add debugignore which yields the combined ignore patten of the .hgignore files
jfh <jason@jasonfharris.com>
parents: 13368
diff changeset
    78
  debugignore
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    79
  debugindex
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    80
  debugindexdot
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    81
  debuginstall
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    82
  debugpushkey
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    83
  debugrebuildstate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    84
  debugrename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    85
  debugrevspec
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    86
  debugsetparents
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    87
  debugstate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    88
  debugsub
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    89
  debugwalk
13720
9c4e04fe267e debug: add debugwireargs to test argument passing over the wire
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13601
diff changeset
    90
  debugwireargs
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
    91
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    92
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
    93
(this should hide rawcommit)
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    94
  $ hg debugcomplete r
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    95
  recover
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    96
  remove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    97
  rename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    98
  resolve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
    99
  revert
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   100
  rollback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   101
  root
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   102
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
   103
  $ hg debugcomplete rawc
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   104
  
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   105
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   106
Show the global options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   107
  $ hg debugcomplete --options | sort
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   108
  --config
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   109
  --cwd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   110
  --debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   111
  --debugger
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   112
  --encoding
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   113
  --encodingmode
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   114
  --help
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   115
  --noninteractive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   116
  --profile
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   117
  --quiet
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   118
  --repository
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   119
  --time
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   120
  --traceback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   121
  --verbose
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   122
  --version
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   123
  -R
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   124
  -h
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   125
  -q
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   126
  -v
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   127
  -y
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   128
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   129
Show the options for the "serve" command
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   130
  $ hg debugcomplete --options serve | sort
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   131
  --accesslog
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   132
  --address
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   133
  --certificate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   134
  --config
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   135
  --cwd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   136
  --daemon
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   137
  --daemon-pipefds
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   138
  --debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   139
  --debugger
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   140
  --encoding
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   141
  --encodingmode
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   142
  --errorlog
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   143
  --help
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   144
  --ipv6
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   145
  --name
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   146
  --noninteractive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   147
  --pid-file
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   148
  --port
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   149
  --prefix
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   150
  --profile
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   151
  --quiet
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   152
  --repository
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   153
  --stdio
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   154
  --style
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   155
  --templates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   156
  --time
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   157
  --traceback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   158
  --verbose
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   159
  --version
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   160
  --web-conf
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   161
  -6
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   162
  -A
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   163
  -E
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   164
  -R
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   165
  -a
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   166
  -d
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   167
  -h
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   168
  -n
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   169
  -p
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   170
  -q
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   171
  -t
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   172
  -v
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   173
  -y
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   174
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   175
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
   176
  $ hg debugcomplete --options s
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   177
  hg: command 's' is ambiguous:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   178
      serve showconfig status summary
12316
4134686b83e1 tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents: 12274
diff changeset
   179
  [255]
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
   180
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   181
Show all commands + options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   182
  $ hg debugcommands
12270
166b9866580a add: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 12167
diff changeset
   183
  add: include, exclude, subrepos, dry-run
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   184
  annotate: rev, follow, no-follow, text, user, file, date, number, changeset, line-number, include, exclude
13328
a939f08fae9c url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents: 12893
diff changeset
   185
  clone: noupdate, updaterev, rev, branch, pull, uncompressed, ssh, remotecmd, insecure
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   186
  commit: addremove, close-branch, include, exclude, message, logfile, date, user
12167
d2c5b0927c28 diff: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 12166
diff changeset
   187
  diff: rev, change, text, git, nodates, show-function, reverse, ignore-all-space, ignore-space-change, ignore-blank-lines, unified, stat, include, exclude, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   188
  export: output, switch-parent, rev, text, git, nodates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   189
  forget: include, exclude
13328
a939f08fae9c url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents: 12893
diff changeset
   190
  init: ssh, remotecmd, insecure
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   191
  log: follow, follow-first, date, copies, keyword, rev, removed, only-merges, user, only-branch, branch, prune, patch, git, limit, no-merges, stat, style, template, include, exclude
12750
05bd2658bbb3 merge: add --tool argument to merge and resolve
Steve Borho <steve@borho.org>
parents: 12327
diff changeset
   192
  merge: force, tool, rev, preview
13368
d4ab9486e514 bookmarks: move push/pull command features to core
Matt Mackall <mpm@selenic.com>
parents: 13366
diff changeset
   193
  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
   194
  push: force, rev, bookmark, branch, new-branch, ssh, remotecmd, insecure
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   195
  remove: after, force, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   196
  serve: accesslog, daemon, daemon-pipefds, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, templates, style, ipv6, certificate
12166
441a74b8def1 status: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 11924
diff changeset
   197
  status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, copies, print0, rev, change, include, exclude, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   198
  summary: remote
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   199
  update: clean, check, date, rev
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   200
  addremove: similarity, include, exclude, dry-run
12326
9d932e8e9546 tests: update debugcomplete output
Matt Mackall <mpm@selenic.com>
parents: 12316
diff changeset
   201
  archive: no-decode, prefix, rev, type, subrepos, include, exclude
12810
a68ccfd9c7be backout: add --tool argument for specifying merge tool
Steve Borho <steve@borho.org>
parents: 12750
diff changeset
   202
  backout: merge, parent, tool, rev, 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
   203
  bisect: reset, good, bad, skip, extend, command, noupdate
13368
d4ab9486e514 bookmarks: move push/pull command features to core
Matt Mackall <mpm@selenic.com>
parents: 13366
diff changeset
   204
  bookmarks: force, rev, delete, rename
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   205
  branch: force, clean
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   206
  branches: active, closed
13328
a939f08fae9c url: add --insecure option to bypass verification of ssl certificates
Yuya Nishihara <yuya@tcha.org>
parents: 12893
diff changeset
   207
  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
   208
  cat: output, rev, decode, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   209
  copy: after, force, include, exclude, dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   210
  debugancestor: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   211
  debugbuilddag: mergeable-file, appended-file, overwritten-file, new-file
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   212
  debugcheckstate: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   213
  debugcommands: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   214
  debugcomplete: options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   215
  debugdag: tags, branches, dots, spaces
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   216
  debugdata: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   217
  debugdate: extended
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   218
  debugfsinfo: 
13396
3e66eec9a814 add debugignore which yields the combined ignore patten of the .hgignore files
jfh <jason@jasonfharris.com>
parents: 13368
diff changeset
   219
  debugignore: 
12893
15ca4bfecfe3 debugindex: add --format flag to allow debugging parentdelta
Matt Mackall <mpm@selenic.com>
parents: 12810
diff changeset
   220
  debugindex: format
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   221
  debugindexdot: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   222
  debuginstall: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   223
  debugpushkey: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   224
  debugrebuildstate: rev
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   225
  debugrename: rev
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   226
  debugrevspec: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   227
  debugsetparents: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   228
  debugstate: nodates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   229
  debugsub: rev
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   230
  debugwalk: include, exclude
13720
9c4e04fe267e debug: add debugwireargs to test argument passing over the wire
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 13601
diff changeset
   231
  debugwireargs: three, four, ssh, remotecmd, insecure
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   232
  grep: print0, all, follow, ignore-case, files-with-matches, line-number, rev, user, date, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   233
  heads: rev, topo, active, closed, style, template
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   234
  help: 
13477
0fb2ff949790 id: add bookmarks to id
Kevin Bullock <kbullock@ringworld.org>
parents: 13396
diff changeset
   235
  identify: rev, num, id, branch, tags, bookmarks
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   236
  import: strip, base, force, no-commit, exact, import-branch, message, logfile, date, user, similarity
13366
c756e9166417 bookmarks: merge incoming/outgoing into core
Matt Mackall <mpm@selenic.com>
parents: 13328
diff changeset
   237
  incoming: force, newest-first, bundle, rev, bookmarks, branch, patch, git, limit, no-merges, stat, style, template, ssh, remotecmd, insecure, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   238
  locate: rev, print0, fullpath, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   239
  manifest: rev
13366
c756e9166417 bookmarks: merge incoming/outgoing into core
Matt Mackall <mpm@selenic.com>
parents: 13328
diff changeset
   240
  outgoing: force, rev, newest-first, bookmarks, branch, patch, git, limit, no-merges, stat, style, template, ssh, remotecmd, insecure, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   241
  parents: rev, style, template
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   242
  paths: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   243
  recover: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   244
  rename: after, force, include, exclude, dry-run
12750
05bd2658bbb3 merge: add --tool argument to merge and resolve
Steve Borho <steve@borho.org>
parents: 12327
diff changeset
   245
  resolve: all, list, mark, unmark, tool, no-status, include, exclude
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   246
  revert: all, date, rev, no-backup, include, exclude, dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   247
  rollback: dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   248
  root: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   249
  showconfig: untrusted
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   250
  tag: force, local, rev, remove, edit, message, date, user
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   251
  tags: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   252
  tip: patch, git, style, template
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   253
  unbundle: update
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   254
  verify: 
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
   255
  version: