diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-04-22 16:55:20 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-22 15:25:55 -0700 |
commit | 7c0580586f04eaccce75a3cf6659209b015ce04c (patch) | |
tree | 79f13bbeade6e098df367308699cbccd42439c7b /contrib/remote-helpers | |
parent | remote-hg: add support for schemes extension (diff) | |
download | tgif-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-x | contrib/remote-helpers/git-remote-hg | 3 |
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 |