graft/rebase without changing the hash
Georges Racinet
georges.racinet at octobus.net
Sat Nov 26 19:17:00 UTC 2022
On 11/26/22 20:06, Dan Villiom Podlaski Christiansen wrote:
>
>
> lør. 26. nov. 2022 kl. 14.38 skrev Georges Racinet
> <georges.racinet at octobus.net>:
>
> Yes! hg-git won't convert to Git unless you tell it to do so
> (using the
> `gexport` command) or it is really needed (push). Therefore there
> is no
> corresponding Git hash known yet.
>
>
> Just to clarify: hg-git will currently export _all_ changesets
> whenever it feels the need, and there is no support for partial exports.
Yes, I wasn't even thinking about partial exports. To summarize, hg-git
is lazy, but when it gets to work it does everything. Sounds like
washing dishes eh?
> I’ve been toying around with fixing that but haven’t merged a fix,
> yet. Part of the reason is that I wasn’t sure whether it was a good idea…
I've been also thinking about that for the server-side usage in Heptapod
long ago, but was too wary of the consequences of missing something
important to act on it. To be fair, there were many more urgent matters
to address as well. Nowadays, the use cases where that would be relevant
and we wouldn't have other work-arounds are probably inexistent.
Best,
--
Georges Racinet
https://octobus.net,https://about.heptapod.host,https://heptapod.net
GPG: BF5456F4DC625443849B6E58EE20CA44EF691D39, sur serveurs publics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20221126/f558b3f2/attachment.html>
More information about the Mercurial
mailing list