divergence using the convert extension
Augie Fackler
raf at durin42.com
Fri Jun 29 15:18:06 UTC 2018
> On Jun 29, 2018, at 10:26, Yuya Nishihara <yuya at tcha.org> wrote:
>
>> My interest here is converting it to LFS, and silently slipping it onto the
>> server for minimal disruption. That won’t work if the hashes change.
>
> I have no idea other than using a hacked hg to reproduce old ctx.files().
Pretty much. That's (effectively) how Kiln Harmony worked - it had a hacked up version of both git and hg so it could faithfully reproduce bad commit data.
It might be worthwhile to have a feature in core that'd let us write out "bad" commit data during hg->hg convert, to better preserve hashes. Not sure what that'd look like.
More information about the Mercurial
mailing list