hg up -C seems not to work

Uwe Brauer oub at mat.ucm.es
Mon Nov 16 12:37:42 UTC 2020


>>> "MM" == Malcolm Matalka <mmatalka at gmail.com> writes:

Hi


> WFM
> bsdell /tmp> cd hg-test/
> bsdell /t/hg-test> hg init
> bsdell /t/hg-test> echo foo > bar
> bsdell /t/hg-test> hg add bar
> bsdell /t/hg-test|(default)⚡✚> hg commit -m "zoom"
> bsdell /t/hg-test|(default)✓> hg book @
> bsdell /t/hg-test|(default|@)✓> hg book baz
> bsdell /t/hg-test|(default|baz)✓> echo foo1 > bar
> bsdell /t/hg-test|(default|baz)⚡*> hg st
> M bar
> bsdell /t/hg-test|(default|baz)⚡*> hg up -C @
> 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
> (activating bookmark @)
> bsdell /t/hg-test|(default|@)✓> hg st
> bsdell /t/hg-test|(default|@)✓> hg --version
> Mercurial Distributed SCM (version 5.5)
> (see https://mercurial-scm.org for more information)

> I get the same behaviour when I just do `hg up -C`

I am confused. I don't use bookmark (in fact I hate them)

I tried

 hg up -C tip
 hg up -C year-20-21

Because the changes occur in a named branch year-20-21
I obtain 

1 files updated, 0 files merged, 0 files removed, 0 files unresolved

But 

But still 

hg status 
M VennDiagram/new.org

I am very confused.
Never happened to me
hg --version 

Mercurial Distributed SCM (version 5.2rc0+20200125)



Return 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20201116/2d928934/attachment.p7s>


More information about the Mercurial mailing list