equal
deleted
inserted
replaced
19 hg ci -m "$1" |
19 hg ci -m "$1" |
20 } |
20 } |
21 getid() { |
21 getid() { |
22 hg id --hidden --debug -ir "$1" |
22 hg id --hidden --debug -ir "$1" |
23 } |
23 } |
|
24 |
|
25 setuprepos() { |
|
26 echo creating test repo for test case $1 |
|
27 mkdir $1 |
|
28 cd $1 |
|
29 echo - pulldest |
|
30 hg init pushdest |
|
31 cd pushdest |
|
32 mkcommit O |
|
33 hg phase --public . |
|
34 cd .. |
|
35 echo - main |
|
36 hg clone -q pushdest main |
|
37 echo - pushdest |
|
38 hg clone -q main pulldest |
|
39 echo 'cd into `main` and proceed with env setup' |
|
40 } |