tests/test-bookmarks-current.t
changeset 16742 973671fc0804
parent 16191 7c75924a6926
child 17735 605fe310691f
equal deleted inserted replaced
16741:77c9a78e31dd 16742:973671fc0804
   124   $ hg bookmark -i -m Y X
   124   $ hg bookmark -i -m Y X
   125   $ hg bookmarks
   125   $ hg bookmarks
   126      X                         0:719295282060
   126      X                         0:719295282060
   127      Z                         0:719295282060
   127      Z                         0:719295282060
   128 
   128 
       
   129 bare update moves the active bookmark forward
       
   130 
       
   131   $ echo a > a
       
   132   $ hg ci -Am1
       
   133   adding a
       
   134   $ hg update X
       
   135   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
   136   $ hg bookmarks
       
   137    * X                         0:719295282060
       
   138      Z                         0:719295282060
       
   139   $ hg update
       
   140   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   141   updating bookmark X
       
   142   $ hg bookmarks
       
   143    * X                         1:cc586d725fbe
       
   144      Z                         0:719295282060
       
   145 
   129 test deleting .hg/bookmarks.current when explicitly updating
   146 test deleting .hg/bookmarks.current when explicitly updating
   130 to a revision
   147 to a revision
   131 
   148 
   132   $ echo a >> b
   149   $ echo a >> b
   133   $ hg ci -m.
   150   $ hg ci -m.