Cannot create and close a branch in a single commit.
Sebastian Unger
sebastian.unger at taitradio.com
Mon Jul 28 01:56:52 UTC 2014
Hi Guys,
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?
*REPO=$(mktemp -d)hg init $REPOhg branch -R $REPO testBranchhg ci -R $REPO
--close-branch -m "Creating and closing branch."*
Result with mercurial 2.6.3 (as shipped with Ubuntu 13.10):
*abort: can only close branch heads*
Cheers,
--
*Sebastian Unger*
*Senior Software Engineer*
Tait Communications
Email: sebastian.unger at taitradio.com <sebastian.unger at taitradio.com>
www.taitradio.com
--
------------------------------
This email, including any attachments, is only for the intended recipient.
It is subject to copyright, is confidential and may be the subject of legal
or other privilege, none of which is waived or lost by reason of this
transmission.
If you are not an intended recipient, you may not use, disseminate,
distribute or reproduce such email, any attachments, or any part thereof.
If you have received a message in error, please notify the sender
immediately and erase all copies of the message and any attachments.
Unfortunately, we cannot warrant that the email has not been altered or
corrupted during transmission nor can we guarantee that any email or any
attachments are free from computer viruses or other conditions which may
damage or interfere with recipient data, hardware or software. The
recipient relies upon its own procedures and assumes all risk of use and of
opening any attachments.
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140728/ae1bd191/attachment-0002.html>
More information about the Mercurial
mailing list