view 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
line wrap: on
line source

#!/bin/bash
hg init rebase
cd rebase

echo A > A
hg ci -Am A
echo B > B
hg ci -Am B
hg up -q -C 0
echo C > C
hg ci -Am C
hg up -q -C 0
echo D > D
hg ci -Am D
hg merge -r 2
hg ci -m E
hg up -q -C 3
echo F > F
hg ci -Am F

hg bundle -a ../rebase.hg

cd ..
rm -Rf rebase