modifying converted repos and github pull requests

Benito van der Zander benito at benibela.de
Fri Oct 4 11:50:16 UTC 2019


Hi,

I keep all my projects in one big mercurial repo. It contains public and 
private projects, so to publish changes to the public projects, I split 
it with hg convert into smaller repos - one for each project - and then 
uploading them on github with hg-git. When I make changes in the big 
repo, I run hg convert and the git export again, which works well.

Is it possible to make changes to the smaller repos directly without 
breaking later converts.
Like removing a file that was included in the wrong subproject?
Do you just need to replace the hash of the old tip with the hash of the 
new tip in shamap ?

How can I merge pull requests from github to the big repository?
When I just copy paste the changes in the big repo, the resulting commit 
after the conversions has a different hash and github shows it as unmerged.
If I merge it in the small repo, it might confuse hg convert, and is 
still not in the big repo.

Bye,
Benito
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20191004/6c0caddc/attachment.html>


More information about the Mercurial mailing list