[PATCH] clone: update to @ bookmark if it exists

David M. Carr david at carrclan.us
Fri Oct 26 13:01:02 CDT 2012


On Fri, Oct 26, 2012 at 1:32 PM, Adrian Buehlmann <adrian at cadifra.com> wrote:
> On 2012-10-26 15:10, Thomas Arendsen Hein wrote:
>> The message that gets printed looks like:
>>    $ hg clone . cloned-bookmarks
>>    updating to branch default
>>    2 files updated, 0 files merged, 0 files removed, 0 files unresolved
>>    active bookmark: @
>
> When I read your code changes, I asked myself why shouldn't this be
>
>     $ hg clone . cloned-bookmarks
>     updating to bookmark @
>     2 files updated, 0 files merged, 0 files removed, 0 files unresolved
>
> because you are updating to a bookmark in that case, not to a branch.
>
> The branch seems of rather subordinated importance to me in that case.

Makes sense to me.

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

-- 
David M. Carr
david at carrclan.us


More information about the Mercurial-devel mailing list