[issue639] clone updates to tip of default branch even when default is inactive

Gregory Collins greg at maptuit.com
Thu Jul 19 19:29:39 CDT 2007


On Thu, Jul 19, 2007 at 10:55:31PM -0000, Bryan O'Sullivan wrote:
> 
> New submission from Bryan O'Sullivan <bos at serpentine.com>:
> 
> When I clone a repo with multiple branches, where each branch is a
> lineal descendant of every other branch, clone updates the working
> dir to the tip of default, even though default is effectively
> inactive.

Isn't this the desired behaviour? That "default" should be blessed as
the default in the absence of other input? If the default setting of
"default" is TOO default, perhaps it should be made configurable
somehow -- maybe read from .hgrc, or stored in (for example)
.hg/default-branch as a property that can be set/queried from an
option to "hg branch". If so, should that behaviour propagate with
cloning?

Gregory Collins <greg at maptuit.com>


More information about the Mercurial-devel mailing list