diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/bundles/rebase.sh	Sat Apr 30 17:38:06 2011 +0200
@@ -0,0 +1,24 @@
+#!/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