Skip to content

Commit 9ed920a

Browse files
felipecgitster
authored andcommitted
remote-hg: don't push fake 'master' bookmark
We skip it locally, but not for the remote, so let's do so. Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 06f4213 commit 9ed920a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/remote-helpers/git-remote-hg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,8 @@ def do_export(parser):
873873

874874
if bmark == 'master' and 'master' not in parser.repo._bookmarks:
875875
# fake bookmark
876-
pass
876+
print "ok %s" % ref
877+
continue
877878
elif bookmarks.pushbookmark(parser.repo, bmark, old, new):
878879
# updated locally
879880
pass

0 commit comments

Comments
 (0)