hg up -C seems not to work
Malcolm Matalka
mmatalka at gmail.com
Mon Nov 16 17:45:34 UTC 2020
Maybe it's because you're using a release candidate.
Den mån 16 nov. 2020 13:38Uwe Brauer <oub at mat.ucm.es> skrev:
> >>> "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
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20201116/d0a44ca2/attachment-0002.html>
More information about the Mercurial
mailing list