Skip to content

Commit

Permalink
remote-hg: don't push fake 'master' bookmark
Browse files Browse the repository at this point in the history
We skip it locally, but not for the remote, so let's do so.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Felipe Contreras authored and Junio C Hamano committed May 15, 2013
1 parent 06f4213 commit 9ed920a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/remote-helpers/git-remote-hg
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,8 @@ def do_export(parser):

if bmark == 'master' and 'master' not in parser.repo._bookmarks:
# fake bookmark
pass
print "ok %s" % ref
continue
elif bookmarks.pushbookmark(parser.repo, bmark, old, new):
# updated locally
pass
Expand Down

0 comments on commit 9ed920a

Please sign in to comment.