[SOLVED] (was: cannot strip)

Uwe Brauer oub at mat.ucm.es
Tue Feb 22 06:27:40 UTC 2022


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

> Hi

> I wanted to strip all changesets of a new branch in draft mode.

> The part of the graph looks like


> ○  changeset:   2477:7a28356c5f3e
> │  Branch:      2021-22
> │  Author:      Uwe Brauer <oub at mat.ucm.es>
> │  Date:        Fri, 08 Oct 2021 17:18:40 +0200
> │  Topic:       examen-extra
> │  Phase:       draft
> │  Summary:     Add the first virtual comment
>> ○  changeset:   2476:befd7579cbcc
> │  Branch:      default
> │  Author:      Uwe Brauer <oub at mat.ucm.es>
> │  Date:        Fri, 08 Oct 2021 17:14:36 +0200
> │  Topic:       examen-extra
> │  Phase:       draft
> │  Summary:     Finish the year


> But hg strip -r 2477 gives

> abort: unknown revision '2021-22'!

I had to do 

 hg up 0

And then I could strip, odd..
-------------- 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/20220222/bfa21e7e/attachment.p7s>


More information about the Mercurial mailing list