I'm confused about --close-branch

CG Linden cg at lindenlab.com
Wed Nov 11 12:58:57 CST 2009


Thanks ...

So, for now:

   - Only close named branches?
   - push -f still required?
   - Use hg up -C tip?

Is pull going to cause problems after I push -f a closed branch?
--
cg

On Wed, Nov 11, 2009 at 10:24 AM, Gilles Moris <gilles.moris at free.fr> wrote:

> On Wednesday 11 November 2009 06:33:41 pm CG Linden wrote:
> > So, what is the point of closed branches?
>
> I think the option only closes named branches, not anonymous heads.
> And your 2 heads are on the same 'default' named branch.
> Other people might confirm, as I do not use names branches.
> There have been some talks about extending that to heads I think, but
> nothing
> more.
>
> Regarding the message about crossing branches, it will be allowed in the
> upcoming version 1.4 with no option provided you give the revision and that
> you do not have local changes. So
> hg up tip
> will work and cross heads, but
> hg up
> will still fail.
>
> From your error message, you are probably running version 1.3.1 or lower.
> To update to a different head, you need the --check option:
> hg up -c
>
> Regards.
> Gilles.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20091111/11d366fc/attachment.htm>


More information about the Mercurial-devel mailing list