hg up and phases, surprises

Uwe Brauer oub at mat.ucm.es
Thu May 25 13:49:24 UTC 2023


Hi

Look at the following graph


○  changeset:     569:33171fb597a8
│  tag:           tip
│  Branch:        default
│  Author:        Uwe Brauer <oub at mat.ucm.es>
│  Date:          Thu, 25 May 2023 15:42:36 +0200
│  Topic:         corrections
│  Phase:         draft
│  Summary:       Ej2B change to singular
│
│ ◍  changeset:     568:e22c5cdee7aa
│ │  Branch:        british
│ │  Author:        Uwe Brauer <oub at mat.ucm.es>
│ │  Date:          Thu, 25 May 2023 15:41:40 +0200
│ │  Topic:         english-23
│ │  Phase:         secret
│ │  Summary:       Till E2A


When I run 

 hg up default

It does not jump to tip but to the last public change set on the default
branch, why?

○  changeset:     556:8a4dd9916968
│  Branch:        default
│  Author:        Uwe Brauer <oub at mat.ucm.es>
│  Date:          Thu, 25 May 2023 08:13:17 +0200
│  Topic:         corrections
│  Phase:         draft
│  Summary:       Include David's changes in the org file.
│
◍  changeset:     555:86dcedb61621
│  Remote_Branch: local/default
│  Branch:        default
│  Author:        David Usero <umdavid at mat.ucm.es>
│  Date:          Wed, 24 May 2023 17:33:29 +0200
│  Phase:         public
│  Summary:       Correct misprints etc
│



When I run 

 hg up british

(Which is a secret phase) 

I obtain 


abort: unknown revision 'british'!

But 

hg up english-23

Works, which is a topic on this secret change set

○  changeset:     569:33171fb597a8
│  tag:           tip
│  Branch:        default
│  Author:        Uwe Brauer <oub at mat.ucm.es>
│  Date:          Thu, 25 May 2023 15:42:36 +0200
│  Topic:         corrections
│  Phase:         draft
│  Summary:       Ej2B change to singular
│
│ ◍  changeset:     568:e22c5cdee7aa
│ │  Branch:        british
│ │  Author:        Uwe Brauer <oub at mat.ucm.es>
│ │  Date:          Thu, 25 May 2023 15:41:40 +0200
│ │  Topic:         english-23
│ │  Phase:         secret
│ │  Summary:       Till E2A


Why?

How can this behavior be changed?

Thanks 

Uwe Brauer 





-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/



More information about the Mercurial mailing list