tests/test-alias.t
changeset 18648 76b69cccb07a
parent 17981 e689b0d91546
child 18693 633cd0c46e6a
equal deleted inserted replaced
18647:c1d23b4a66d5 18648:76b69cccb07a
   179   $ FOO=`pwd` hg put
   179   $ FOO=`pwd` hg put
   180   $ cat 0.diff
   180   $ cat 0.diff
   181   # HG changeset patch
   181   # HG changeset patch
   182   # User test
   182   # User test
   183   # Date 0 0
   183   # Date 0 0
       
   184   #      Thu Jan 01 00:00:00 1970 +0000
   184   # Node ID e63c23eaa88ae77967edcf4ea194d31167c478b0
   185   # Node ID e63c23eaa88ae77967edcf4ea194d31167c478b0
   185   # Parent  0000000000000000000000000000000000000000
   186   # Parent  0000000000000000000000000000000000000000
   186   foo
   187   foo
   187   
   188   
   188   diff -r 000000000000 -r e63c23eaa88a foo
   189   diff -r 000000000000 -r e63c23eaa88a foo
   222   2
   223   2
   223   $ hg mcount -r '"branch(default)"'
   224   $ hg mcount -r '"branch(default)"'
   224   2
   225   2
   225 
   226 
   226   $ hg tglog
   227   $ hg tglog
   227   @  1:7e7f92de180e: 'bar'
   228   @  1:042423737847: 'bar'
   228   |
   229   |
   229   o  0:e63c23eaa88a: 'foo'
   230   o  0:e63c23eaa88a: 'foo'
   230   
   231   
   231 
   232 
   232 
   233 
   235   $ hg i
   236   $ hg i
   236   hg: command 'i' is ambiguous:
   237   hg: command 'i' is ambiguous:
   237       idalias idaliaslong idaliasshell identify import incoming init
   238       idalias idaliaslong idaliasshell identify import incoming init
   238   [255]
   239   [255]
   239   $ hg id
   240   $ hg id
   240   7e7f92de180e tip
   241   042423737847 tip
   241   $ hg ida
   242   $ hg ida
   242   hg: command 'ida' is ambiguous:
   243   hg: command 'ida' is ambiguous:
   243       idalias idaliaslong idaliasshell
   244       idalias idaliaslong idaliasshell
   244   [255]
   245   [255]
   245   $ hg idalias
   246   $ hg idalias
   246   7e7f92de180e tip
   247   042423737847 tip
   247   $ hg idaliasl
   248   $ hg idaliasl
   248   7e7f92de180e tip
   249   042423737847 tip
   249   $ hg idaliass
   250   $ hg idaliass
   250   test
   251   test
   251   $ hg parentsshell
   252   $ hg parentsshell
   252   hg: command 'parentsshell' is ambiguous:
   253   hg: command 'parentsshell' is ambiguous:
   253       parentsshell1 parentsshell2
   254       parentsshell1 parentsshell2