clone ups default branch --- bug or feature?
mpm at selenic.com
Mon Mar 31 10:31:18 CDT 2008
On Mon, 2008-03-31 at 05:33 -0400, Dmitriy Morozov wrote:
> "hg clone" implicitly executes "up default" instead of "up tip". Is
> this the intended behavior? In my work flow it causes periodic
> annoyances (I usually expect a fresh clone to be at tip only to
> discover that it's at default branch, and I forgot to do "hg up tip"),
> so I was wondering if this was overlooked, or if there is a setting
> where this is the preferred behavior.
It is intended: it's the -default- branch. Think of it as MAIN or TRUNK
or whatever. If you've named your main branch something other than
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial