Sync subdirectory to public repo

Shawn Hoover shawn.hoover at gmail.com
Thu Sep 10 18:58:52 UTC 2015


Are there any accepted recipes for syncing a subdirectory of an internal
repo to a separate repo? The internal repo subdirectory is the "master
copy" of the project. Contributors can only see and push to the external
one. Changes need to be synced both ways.

I have been down the subrepo road and am trying to avoid it. ("Feature of
last resort," right?)

Some manual effort or scripting beyond push/pull/merge is ok as long as the
procedure or tool reliably captures all the changesets going both ways. The
two repos wouldn't have to share history in terms of revision hashes, they
just need the same patches. I don't mind working with MQ, bookmarks, or
named branches.

Thoughts?

Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20150910/08bfd3d5/attachment.html>


More information about the Mercurial mailing list