[PATCH 11/13] remote-hg: force remote push
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Apr 2, 2013, 19:03 UTC
- Message-ID
- <1364929382-1399-12-git-send-email-felipe.contreras@gmail.com>
- In-Reply-To
- <1364929382-1399-1-git-send-email-felipe.contreras@gmail.com>
Ideally we shouldn't do this, as it's not recommended in mercurial documentation, but there's no other way to push multiple bookmarks (on the same branch), which would be the behavior most similar to git.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> --- contrib/remote-helpers/git-remote-hg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg index 160f486..a1b7e44 100755 --- a/contrib/remote-helpers/git-remote-hg +++ b/contrib/remote-helpers/git-remote-hg @@ -722,7 +722,7 @@ def do_export(parser): continue if peer: - parser.repo.push(peer, force=False) + parser.repo.push(peer, force=True) # handle bookmarks for bmark, node in p_bmarks:
-- 1.8.2