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 | |
parent | 891122266fc6836cb8a8ebf77d75aa6c9306a04c (diff) | |
download | git-7c0580586f04eaccce75a3cf6659209b015ce04c.tar.gz git-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>
-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 4f6c7b7d8..dbb4091d8 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 |