[PATCH 2 of 2 V2] discovery: abort also when pushing multiple headed new branch

Siddharth Agarwal sid0 at fb.com
Thu Sep 5 01:44:33 CDT 2013


On 09/04/2013 06:27 AM, FUJIWARA Katsunori wrote:
> # HG changeset patch
> # User FUJIWARA Katsunori<foozy at lares.dti.ne.jp>
> # Date 1378300768 -32400
> #      Wed Sep 04 22:19:28 2013 +0900
> # Node ID 6e52e0a2a6950bb6ff509a7ced6e0b229edf83f2
> # Parent  aa8788937c2e5b505b4096f48536249d29499829
> discovery: abort also when pushing multiple headed new branch
> +                if error is None:
> +                    error = (_("push creates multiple headed new branch '%s'")
> +                             % (branch))
> +                    hint = _("did you forget to merge?"
> +                             " see \"hg help push\" for detail about pushing"
> +                             " multiple heads")

See comments for patch 1.


More information about the Mercurial-devel mailing list