[SOLVED]

cesar mena cesar.mena at gmail.com
Wed Jul 21 16:42:21 UTC 2021


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

>>>> "GR" == Georges Racinet <georges.racinet at octobus.net> writes:
>
>> On 7/21/21 11:17 AM, Uwe Brauer wrote:
>>> I just accidently striped a branch that contains my work over the last past
>>> 6 month. When I try to pull it back
>>> 
>>> hg pull 89d30b14c3e1-dada9bf7-backup.hg
>>> pulling from 89d30b14c3e1-dada9bf7-backup.hg
>>> 
>>> I obtain. 
>>> 
>>> abort: 00changelog.i at bfc61958f26e: unknown parent!
>
>> `hg strip` normally keeps a backup inside the repo, to be restored
>> with `hg unbundle` (there's a setting to disable it, though, if I
>> remember correctly).
>
> I have all the backups. I first copied the repository in question and pulled
> from Helix (which I use as my repository for collaborations)
>
>
> Then I realized that I did a series of 
>
> Hg strip operation, 
>
> Five all together to get rid of these bizarre changesets of the form
> 2020-21//CV:matlab
>
>
> However, stripping those change set basically set my repo back to February so I
> pulled all the backups, but forgot to pull one important backup before I did
> hg pull 89d30b14c3e1-dada9bf7-backup.hg
>
> Now all is well, and I am relieved.

i am relieved for you!

do you know about hg ci --close-branch?

glad that all ended well :)




More information about the Mercurial mailing list