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

Augie Fackler lists at durin42.com
Fri Oct 26 12:37:57 CDT 2012


On Fri, Oct 26, 2012 at 12: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.

Good point. I agree.

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


More information about the Mercurial-devel mailing list