hg up -C seems not to work

Malcolm Matalka mmatalka at gmail.com
Mon Nov 16 11:27:03 UTC 2020


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`


Uwe Brauer <oub at mat.ucm.es> writes:

> Hi 
>
> I am very confused
>
>  hg status gives me:
>
> M VennDiagram/new.org
>
> So I run as always
>
>  hg up -C
>
> 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
>
> But 
>
> Hg status continues to give me
>
> hg status
> M VennDiagram/new.org
>
>
> What is up here?
>
> I could run 
>
> hg shelve 
>
> But I am confused and want to understand what's up here.
>
> Thanks
>
> Uwe Brauer 
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial




More information about the Mercurial mailing list