Show More
@@ -91,7 +91,9 b' buildone() {' | |||||
91 | exit 1 |
|
91 | exit 1 | |
92 | fi |
|
92 | fi | |
93 | echo '# cloning' |
|
93 | echo '# cloning' | |
94 | hg clone --noupdate "${repo}" "${dest}" |
|
94 | if ! cp --recursive --reflink=always ${repo} ${dest}; then | |
|
95 | hg clone --noupdate "${repo}" "${dest}" | |||
|
96 | fi | |||
95 | echo '# stripping' '"'${revset}'"' |
|
97 | echo '# stripping' '"'${revset}'"' | |
96 | hg -R "${dest}" --config extensions.strip= strip --rev "$revset" --no-backup |
|
98 | hg -R "${dest}" --config extensions.strip= strip --rev "$revset" --no-backup | |
97 | } |
|
99 | } |
General Comments 0
You need to be logged in to leave comments.
Login now