Cannot create and close a branch in a single commit.

Harvey Chapman hchapman-hg at 3gfp.com
Mon Jul 28 03:02:03 UTC 2014


On Jul 27, 2014, at 10:43 PM, Sebastian Unger <sebastian.unger at taitradio.com> wrote:

> 
> I expected the following sequence of commands to work. I'm pretty sure they used to work in an earlier version of mercurial. Is this intentional or a regression? If the latter how do I go about raising a bug report for this. If the former, would you consider adding a -f to the commit command that allows this?
> 
> hg ci -R $REPO --close-branch -m "Creating and closing branch.”
> 

I don’t think that has ever worked. I just went back and spot-tested a few versions and it doesn’t work in 1.0.2, 1.6, 2.0.2, or 3.0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20140727/4a31b5d8/attachment.html>


More information about the Mercurial mailing list