[a solution of sorts] (was: [AGAIN])

Uwe Brauer oub at mat.ucm.es
Mon Sep 20 06:38:46 UTC 2021


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

>>> "PD" == Pierre-Yves David <pierre-yves.david at ens-lyon.org> writes:
>> yes
>> On 6/29/21 12:02 PM, Uwe Brauer wrote:
>>>>>> "PD" == Pierre-Yves David <pierre-yves.david at ens-lyon.org> writes:
>>> > can you run the same comand using `//` ?
>>> 
>>> You mean
>>> 
>>> hg strip -r default//examenjun

> It does not work for the following graph:

> ◍ changeset:   549:02ab0808bb7a
> │╲   Branch:      uwe//referee
> │ │  tag:         tip
> │ │  Author:      Uwe Brauer <oub at mat.ucm.es>
> │ │  Date:        Thu, 16 Sep 2021 14:22:37 +0200
> │ │  Topic:       referee
> │ │  Phase:       secret
> │ │  Summary:     Merge the resolved issue changeset into the uwe branch

> Somehow hg mixed a topic and a named branch, because there is a 
> named branch uwe
> and a topic referee

> But I cannot strip change set 549

>  I tried 


>  hg strip -r 549
>  hg strip -r 2ab0808bb7a
>  hg strip -r uwe//referee

> Nothing works I always obtain 

> abort: unknown revision 

> I am really desperate!


A «solution» is hg up -r tip-1
commit something
so now there are two heads

Then the problematic change set is no longer tip and can be stripped. Is
this a BUG?
-------------- 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/20210920/a0d99578/attachment.p7s>


More information about the Mercurial mailing list