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:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-11 17:46:46 (GMT)
commit8120014e2ba0e65748c8a3c1642bed0891be851d (patch)
tree3fd5920f848906856e8a162a8de90759e4dfe1ba /contrib/remote-helpers/test-hg-hg-git.sh
parent15a8d901dd38cdc10d6b17d718e20e8ba91c66d1 (diff)
downloadgit-8120014e2ba0e65748c8a3c1642bed0891be851d.zip
git-8120014e2ba0e65748c8a3c1642bed0891be851d.tar.gz
git-8120014e2ba0e65748c8a3c1642bed0891be851d.tar.bz2
remote-hg: make sure fake bookmarks are updated
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.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/remote-helpers/test-hg-hg-git.sh b/contrib/remote-helpers/test-hg-hg-git.sh
index 7e3967f..4c71c45 100755
--- a/contrib/remote-helpers/test-hg-hg-git.sh
+++ b/contrib/remote-helpers/test-hg-hg-git.sh
@@ -35,6 +35,7 @@ git_clone_git () {
hg_clone_git () {
(
hg init $2 &&
+ hg -R $2 bookmark -i master &&
cd $1 &&
git push -q "hg::$PWD/../$2" 'refs/tags/*:refs/tags/*' 'refs/heads/*:refs/heads/*'
) &&