comparison tests/bundles/rebase.sh @ 14118:7fd8e597f99c

tests: introduce a rebase bundle to use with rebase tests Allows saving a few seconds in test runs by not constructing over and over the same repository.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sat, 30 Apr 2011 17:38:06 +0200
parents
children 624e5ce615ec
comparison
equal deleted inserted replaced
14117:07708f4171f1 14118:7fd8e597f99c
1 #!/bin/bash
2 hg init rebase
3 cd rebase
4
5 echo A > A
6 hg ci -Am A
7 echo B > B
8 hg ci -Am B
9 hg up -q -C 0
10 echo C > C
11 hg ci -Am C
12 hg up -q -C 0
13 echo D > D
14 hg ci -Am D
15 hg merge -r 2
16 hg ci -m E
17 hg up -q -C 3
18 echo F > F
19 hg ci -Am F
20
21 hg bundle -a ../rebase.hg
22
23 cd ..
24 rm -Rf rebase