D6776: bookmarks: validate changes on push (issue6193) (BC)
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Sep 12 02:06:10 EDT 2019
pulkit added a comment.
I agree with @valentin.gatienbaron that `--force` is quite generic :(. It may create new heads on the server even if I don't want to.
> + hint=
> + _("run 'hg pull', resolve conflicts, and push again"))
> + hookargs = tr.hookargs.copy()
Hm, I think `conflicts` can be confusing but I don't have better suggestions here.
> - def unbundle(bundle, heads, url):
> + def unbundle(bundle, heads, url, force=None):
> """Transfer repository data to the peer.
It will be nice to have documentation about what `force` does in the interface.
CHANGES SINCE LAST ACTION
To: idlsoft, #hg-reviewers, durin42
Cc: pulkit, durin42, valentin.gatienbaron, mercurial-devel
More information about the Mercurial-devel