[issue574] hg clone URL should checkout default branch like hg init+pull+update

Thomas Arendsen Hein mercurial-bugs at selenic.com
Wed May 30 10:54:06 CDT 2007


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

with 0.9.3, stable and main:
hg clone URL always updates to tip, even if tip is not on the default (unnamed)
branch. This is inconsistent with
hg init && hg pull URL && hg update
which updates to the tipmost changeset of the default branch.

Related problem:
hg init && hg pull -u URL
doesn't update at all if there is more than one head:
"not updating, since new heads added"
So it either doesn't update or updates to tip of a single branch if all other
existing branches didn't evolve since branching.
I think it should update to the tipmost changeset of the default branch, too.

----------
assignedto: ThomasAH
messages: 3136
nosy: ThomasAH, alexis, brendan, mpm
priority: bug
status: unread
title: hg clone URL should checkout default branch like hg init+pull+update
topic: surprise, ui

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue574>
____________________________________________________



More information about the Mercurial-devel mailing list