Need help recovering after mistaken prune

Ernie Rael errael at raelity.com
Thu May 2 17:31:25 UTC 2024


Hi All, I screwed up big time,

I was in the wrong directory when I executed

    $ hg prune 78
    1 changesets pruned
    94 new orphan changesets

I tried "hg touch 78", but attempts to use evolve/rebase wants to do 
merge resolution and that's not an option. I there any way to patch this 
up? I wouldn't feel so much panic if this wasn't my home directory.

It seems like the working directory is unchanged. So worst case, I could 
move ".hg" somewhere are start over.

-ernie

o  changeset:   276:77361278f558
|  tag:         tip
|  parent:      76:783c322291a6
|  date:        Thu May 02 09:30:56 2024 -0700
|
| @  changeset:   275:a26d3518a56f
| |  parent:      270:7a356d18f350
| |  date:        Wed May 01 16:57:37 2024 -0700
| |  instability: orphan
| |
| *  changeset:   270:7a356d18f350
| |  parent:      266:20553ec8be3b
| |  date:        Mon Apr 29 15:06:48 2024 -0700
| |  instability: orphan
....................
| *  changeset:   79:37a441f58dd9
| |  date:        Sun Apr 17 16:41:55 2022 -0700
| |  instability: orphan
| |
| x  changeset:   78:7dc8afdd9b48
|/   parent:      76:783c322291a6
|    date:        Sun Apr 17 16:33:58 2022 -0700
|    obsolete:    date-changed using touch as 276:77361278f558
|
o  changeset:   76:783c322291a6
|  date:        Sun Apr 17 16:21:26 2022 -0700
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20240502/ddf607d7/attachment.html>


More information about the Mercurial mailing list