summaryrefslogtreecommitdiff
path: root/contrib/remote-helpers/test-hg-hg-git.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-04-11 12:23:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-11 17:46:46 (GMT)
commit71c6c95c310b0389f07fdbe40db6f068c1fa95a5 (patch)
treebed59231468a1a4be18e5df2cc8a742c3066e0f8 /contrib/remote-helpers/test-hg-hg-git.sh
parent8120014e2ba0e65748c8a3c1642bed0891be851d (diff)
downloadgit-71c6c95c310b0389f07fdbe40db6f068c1fa95a5.zip
git-71c6c95c310b0389f07fdbe40db6f068c1fa95a5.tar.gz
git-71c6c95c310b0389f07fdbe40db6f068c1fa95a5.tar.bz2
remote-hg: trivial test cleanups
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/remote-helpers/test-hg-hg-git.sh')
-rwxr-xr-xcontrib/remote-helpers/test-hg-hg-git.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/remote-helpers/test-hg-hg-git.sh b/contrib/remote-helpers/test-hg-hg-git.sh
index 4c71c45..8c59d8e 100755
--- a/contrib/remote-helpers/test-hg-hg-git.sh
+++ b/contrib/remote-helpers/test-hg-hg-git.sh
@@ -27,7 +27,6 @@ fi
# clone to a git repo with git
git_clone_git () {
- hg -R $1 bookmark -f -r tip master &&
git clone -q "hg::$PWD/$1" $2
}
@@ -48,7 +47,7 @@ git_clone_hg () {
(
git init -q $2 &&
cd $1 &&
- hg bookmark -f -r tip master &&
+ hg bookmark -i -f -r tip master &&
hg -q push -r master ../$2 || true
)
}