tests/test-tag.t
changeset 45845 f96fa4de5055
parent 45840 527ce85c2e60
child 46417 768056549737
equal deleted inserted replaced
45844:3175b0e0058b 45845:f96fa4de5055
    62   $ hg tag -r 0 x y z y y z
    62   $ hg tag -r 0 x y z y y z
    63   abort: tag names must be unique
    63   abort: tag names must be unique
    64   [10]
    64   [10]
    65   $ hg tag tap nada dot tip
    65   $ hg tag tap nada dot tip
    66   abort: the name 'tip' is reserved
    66   abort: the name 'tip' is reserved
    67   [255]
    67   [10]
    68   $ hg tag .
    68   $ hg tag .
    69   abort: the name '.' is reserved
    69   abort: the name '.' is reserved
    70   [255]
    70   [10]
    71   $ hg tag null
    71   $ hg tag null
    72   abort: the name 'null' is reserved
    72   abort: the name 'null' is reserved
    73   [255]
    73   [10]
    74   $ hg tag "bleah"
    74   $ hg tag "bleah"
    75   abort: tag 'bleah' already exists (use -f to force)
    75   abort: tag 'bleah' already exists (use -f to force)
    76   [10]
    76   [10]
    77   $ hg tag "blecch" "bleah"
    77   $ hg tag "blecch" "bleah"
    78   abort: tag 'bleah' already exists (use -f to force)
    78   abort: tag 'bleah' already exists (use -f to force)
   155   acb14030fe0a21b60322c440ad2d20cf7685a376 localblah
   155   acb14030fe0a21b60322c440ad2d20cf7685a376 localblah
   156 
   156 
   157   $ hg tag -l 'xx
   157   $ hg tag -l 'xx
   158   > newline'
   158   > newline'
   159   abort: '\n' cannot be used in a name
   159   abort: '\n' cannot be used in a name
   160   [255]
   160   [10]
   161   $ hg tag -l 'xx:xx'
   161   $ hg tag -l 'xx:xx'
   162   abort: ':' cannot be used in a name
   162   abort: ':' cannot be used in a name
   163   [255]
   163   [10]
   164 
   164 
   165 cloning local tags
   165 cloning local tags
   166 
   166 
   167   $ cd ..
   167   $ cd ..
   168   $ hg -R test log -r0:5
   168   $ hg -R test log -r0:5