tests/test-globalopts.t
changeset 45918 ac565222b9f8
parent 45911 8939062597f0
child 46118 db5dddb38f5b
equal deleted inserted replaced
45917:721f765a34ac 45918:ac565222b9f8
   133 
   133 
   134 earlygetopt with illegal abbreviations:
   134 earlygetopt with illegal abbreviations:
   135 
   135 
   136   $ hg --confi "foo.bar=baz"
   136   $ hg --confi "foo.bar=baz"
   137   abort: option --config may not be abbreviated
   137   abort: option --config may not be abbreviated
   138   [255]
   138   [10]
   139   $ hg --cw a tip
   139   $ hg --cw a tip
   140   abort: option --cwd may not be abbreviated
   140   abort: option --cwd may not be abbreviated
   141   [255]
   141   [10]
   142   $ hg --rep a tip
   142   $ hg --rep a tip
   143   abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo
   143   abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo
   144   [255]
   144   [10]
   145   $ hg --repositor a tip
   145   $ hg --repositor a tip
   146   abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo
   146   abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo
   147   [255]
   147   [10]
   148   $ hg -qR a tip
   148   $ hg -qR a tip
   149   abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo
   149   abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo
   150   [255]
   150   [10]
   151   $ hg -qRa tip
   151   $ hg -qRa tip
   152   abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo
   152   abort: option -R has to be separated from other options (e.g. not -qR) and --repository may only be abbreviated as --repo
   153   [255]
   153   [10]
   154 
   154 
   155 Testing --cwd:
   155 Testing --cwd:
   156 
   156 
   157   $ hg --cwd a parents
   157   $ hg --cwd a parents
   158   changeset:   0:8580ff50825a
   158   changeset:   0:8580ff50825a