changeset 830 | f3b3a09ba312 |
parent 829 | 0943f327e2fb |
child 831 | a6af6919888d |
--- a/tests/_exc-util.sh Mon Mar 03 13:12:50 2014 -0800 +++ b/tests/_exc-util.sh Mon Mar 03 13:27:53 2014 -0800 @@ -21,3 +21,20 @@ getid() { hg id --hidden --debug -ir "$1" } + +setuprepos() { + echo creating test repo for test case $1 + mkdir $1 + cd $1 + echo - pulldest + hg init pushdest + cd pushdest + mkcommit O + hg phase --public . + cd .. + echo - main + hg clone -q pushdest main + echo - pushdest + hg clone -q main pulldest + echo 'cd into `main` and proceed with env setup' +}