summaryrefslogtreecommitdiff
path: root/contrib/remote-helpers
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-04-22 16:55:20 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-22 15:25:55 -0700
commit7c0580586f04eaccce75a3cf6659209b015ce04c (patch)
tree79f13bbeade6e098df367308699cbccd42439c7b /contrib/remote-helpers
parentremote-hg: add support for schemes extension (diff)
downloadtgif-7c0580586f04eaccce75a3cf6659209b015ce04c.tar.xz
remote-hg: don't update bookmarks unnecessarily
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/remote-helpers')
-rwxr-xr-xcontrib/remote-helpers/git-remote-hg3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
index 4f6c7b7d89..dbb4091d86 100755
--- a/contrib/remote-helpers/git-remote-hg
+++ b/contrib/remote-helpers/git-remote-hg
@@ -830,6 +830,9 @@ def do_export(parser):
else:
old = ''
+ if old == new:
+ continue
+
if bmark == 'master' and 'master' not in parser.repo._bookmarks:
# fake bookmark
pass