tests/test-bookmarks-strip.t
changeset 11907 863567a1364f
parent 11864 b2a06ef53b7b
child 12156 4c94b6d0fb1c
equal deleted inserted replaced
11906:1219d019339d 11907:863567a1364f
     1   $ . $TESTDIR/helpers.sh
       
     2   $ echo "[extensions]" >> $HGRCPATH
     1   $ echo "[extensions]" >> $HGRCPATH
     3   $ echo "bookmarks=" >> $HGRCPATH
     2   $ echo "bookmarks=" >> $HGRCPATH
     4   $ echo "mq=" >> $HGRCPATH
     3   $ echo "mq=" >> $HGRCPATH
     5 
     4 
     6   $ hg init
     5   $ hg init
    48      test                      1:16b24da7e457
    47      test                      1:16b24da7e457
    49      test2                     1:16b24da7e457
    48      test2                     1:16b24da7e457
    50 
    49 
    51 strip to revision 1
    50 strip to revision 1
    52 
    51 
    53   $ hg strip 1 | hidebackup
    52   $ hg strip 1
    54   saved backup bundle to 
    53   saved backup bundle to .*
    55 
    54 
    56 list bookmarks
    55 list bookmarks
    57 
    56 
    58   $ hg book
    57   $ hg book
    59    * test                      1:9f1b7e78eff8
    58    * test                      1:9f1b7e78eff8