tests/test-bookmarks.t
changeset 43908 e623ad1b4800
parent 43907 5cde16489b42
child 45846 8d72e29ad1e0
equal deleted inserted replaced
43907:5cde16489b42 43908:e623ad1b4800
    82   [255]
    82   [255]
    83   $ hg bookmarks -l -r0
    83   $ hg bookmarks -l -r0
    84   abort: cannot specify both --list and --rev
    84   abort: cannot specify both --list and --rev
    85   [255]
    85   [255]
    86   $ hg bookmarks -l --inactive
    86   $ hg bookmarks -l --inactive
    87   abort: --inactive is incompatible with --list
    87   abort: cannot specify both --inactive and --list
    88   [255]
    88   [255]
    89 
    89 
    90   $ hg log -T '{bookmarks % "{rev} {bookmark}\n"}'
    90   $ hg log -T '{bookmarks % "{rev} {bookmark}\n"}'
    91   0 X
    91   0 X
    92   0 X2
    92   0 X2
   345   [255]
   345   [255]
   346 
   346 
   347 delete with --inactive
   347 delete with --inactive
   348 
   348 
   349   $ hg bookmark -d --inactive Y
   349   $ hg bookmark -d --inactive Y
   350   abort: --inactive is incompatible with --delete
   350   abort: cannot specify both --inactive and --delete
   351   [255]
   351   [255]
   352 
   352 
   353 bookmark name with spaces should be stripped
   353 bookmark name with spaces should be stripped
   354 
   354 
   355   $ hg bookmark ' x  y '
   355   $ hg bookmark ' x  y '