Is there a way to push/pull hidden changesets?
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Tue Aug 31 15:35:00 UTC 2021
(oops, replied to this a bit too fast)
On 8/31/21 5:32 PM, Pierre-Yves David wrote:
>
> On 8/30/21 4:33 AM, James Cook wrote:
>> I'm using the hg evolve extension, which leaves hidden changesets
>> behind when I rewrite history. Is there a way to copy those changesets
>> to another repository?
>
>
> There is currently no way do do so. However two years ago, I started a
> series of patch to make it possible and got to the point where "it
> worked but needed some polish". I did not had time to get back to it
> since then, (and to be honest forgot a bit about it).
>
>
>>
>> What I've tried:
>>
>> hg push/pull seems to ignore them; indeed this is documented at
>> https://www.mercurial-scm.org/doc/evolution/user-guide.html . I have
>> tried using push --force and push -r <the hidden rev>, to no avail*.
>>
>> Why I want this:
>>
>> 1. When I switch computers, I'd still like to be able to see the full
>> history of my changes. So, I'd like to copy that history between my
>> private clones.
>>
>> 2. I'd like to back up that history so that if one repo fails, it's not
>> lost. Simply pushing copies to all my private clones would be a nice
>> and simple way to accomplish that.
You can, however, produce local backup using `hg bundle --all --hidden
--config experimental.|evolution.bundle-obsmarker=yes`
regards,
|
--
Pierre-Yves David
More information about the Mercurial
mailing list