tests/test-bookmarks-current.t
branchstable
changeset 19112 23f785b38af3
parent 19110 741d94aa92e4
child 19147 5b1835485442
equal deleted inserted replaced
19111:6439d78e14fb 19112:23f785b38af3
    89 update to tip
    89 update to tip
    90 
    90 
    91   $ hg update tip
    91   $ hg update tip
    92   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    92   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    93 
    93 
    94 set bookmark Y using -r .
    94 set bookmark Y using -r . but make sure that the active
       
    95 bookmark is not activated
    95 
    96 
    96   $ hg bookmark -r . Y
    97   $ hg bookmark -r . Y
    97 
    98 
    98 list bookmarks
    99 list bookmarks, Y should not be active
    99 
   100 
   100   $ hg bookmark
   101   $ hg bookmark
   101    * Y                         0:719295282060
   102      Y                         0:719295282060
       
   103 
       
   104 now, activate Y
       
   105 
       
   106   $ hg up -q Y
   102 
   107 
   103 set bookmark Z using -i
   108 set bookmark Z using -i
   104 
   109 
   105   $ hg bookmark -r . -i Z
   110   $ hg bookmark -r . -i Z
   106   $ hg bookmarks
   111   $ hg bookmarks