Recover history on "hg remove" & "hg add" instead of "hg move"
Marcus Harnisch
mh-gmane at online.de
Wed May 5 06:39:46 UTC 2021
On 30/04/2021 01.56, Manish Dusane wrote:
> Now i have lost history of the said directory from default, as it got
> overwritten.
> (I realise should have used "hg move".)
>
> What is the way to recover the history ?
If that's all you did and the commit is still in draft, you could go
back to where you started (i.e. check out original commit or use
‘uncommit’) and try again. Then get rid of the unwanted commits with
‘histedit’ or something.
More information about the Mercurial
mailing list