comparison tests/test-bookmarks-strip.t @ 11907:863567a1364f

tests: use regular expressions instead of helpers
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 16 Aug 2010 10:58:03 +0900
parents b2a06ef53b7b
children 4c94b6d0fb1c
comparison
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