tests/test-bookmarks.t
changeset 18773 56dd55da2f7d
parent 18623 0027a5cec9d0
child 18774 b616c9b8001d
equal deleted inserted replaced
18772:0bba1ff2ac7b 18773:56dd55da2f7d
   237   [255]
   237   [255]
   238 
   238 
   239 
   239 
   240 bookmark with existing name
   240 bookmark with existing name
   241 
   241 
   242   $ hg bookmark Z
   242   $ hg bookmark X2
   243   abort: bookmark 'Z' already exists (use -f to force)
   243   abort: bookmark 'X2' already exists (use -f to force)
   244   [255]
   244   [255]
   245 
   245 
   246   $ hg bookmark -m Y Z
   246   $ hg bookmark -m Y Z
   247   abort: bookmark 'Z' already exists (use -f to force)
   247   abort: bookmark 'Z' already exists (use -f to force)
   248   [255]
   248   [255]
   277   abort: --rev is incompatible with --rename
   277   abort: --rev is incompatible with --rename
   278   [255]
   278   [255]
   279 
   279 
   280 force bookmark with existing name
   280 force bookmark with existing name
   281 
   281 
   282   $ hg bookmark -f Z
   282   $ hg bookmark -f X2
       
   283   $ hg bookmark -fr1 X2
       
   284 
       
   285 forward bookmark to descendant without --force
       
   286 
       
   287   $ hg bookmark Z
       
   288   moving bookmark 'Z' forward from 663762316562
   283 
   289 
   284 list bookmarks
   290 list bookmarks
   285 
   291 
   286   $ hg bookmark
   292   $ hg bookmark
   287      X2                        1:925d80f479bb
   293      X2                        1:925d80f479bb