Show More
@@ -81,18 +81,21 b' if [ $doright -eq 1 ]; then' | |||
|
81 | 81 | echo '# right revset:' '"'${rightsubset}'"' |
|
82 | 82 | fi |
|
83 | 83 | |
|
84 | if [ $doleft -eq 1 ]; then | |
|
85 | echo '### building left repository:' $left-repo | |
|
84 | buildone() { | |
|
85 | side=$1 | |
|
86 | dest=$2 | |
|
87 | revset=$3 | |
|
88 | echo "### building $side repository: $dest" | |
|
86 | 89 | echo '# cloning' |
|
87 |
hg clone --noupdate "${repo}" "${ |
|
|
88 |
echo '# stripping' '"'${ |
|
|
89 |
hg -R "${ |
|
|
90 | hg clone --noupdate "${repo}" "${dest}" | |
|
91 | echo '# stripping' '"'${revset}'"' | |
|
92 | hg -R "${dest}" --config extensions.strip= strip --rev "$revset" --no-backup | |
|
93 | } | |
|
94 | ||
|
95 | if [ $doleft -eq 1 ]; then | |
|
96 | buildone left $leftrepo $leftsubset | |
|
90 | 97 | fi |
|
91 | 98 | |
|
92 | 99 | if [ $doright -eq 1 ]; then |
|
93 |
|
|
|
94 | echo '# cloning' | |
|
95 | hg clone --noupdate "${repo}" "${rightrepo}" | |
|
96 | echo '# stripping:' '"'${rightsubset}'"' | |
|
97 | hg -R "${rightrepo}" --config extensions.strip= strip --rev "$rightsubset" --no-backup | |
|
100 | buildone right $rightrepo $rightsubset | |
|
98 | 101 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now