using Mercurial for multiple sources

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sun May 3 08:47:35 CDT 2009


On Sun, May 03, 2009 at 03:38:19AM -0700, ats wrote:
> 
> I have a scenario where a number of sources contribute files to the same
> source tree. 
> Basically: 
> - Contributor 1: Main source tree
> - Contributor 2: Plugin/Module #1
> - Contributor 3: Plugin/Module #2
> - ...
> 
> Each of them (Main, #1, #2, ...) are in individul Mercurial repositories.
> 
> It would be easier if all plugins were restricted to their own directories
> (forest!), but this is not the case (they can each add files in the root
> folder).
> 
> Usually plugin modules will not clash filenames with Main or other modules
> (we can assume this).
> 
> I wonder if this is possible to set up with Mercurial (and extensions). 
> 
> We'd like this to be possible:
> 1 - In the working copy, edit module files and be able to commit them back
> to the right repository 
> 2 - In the working copy, edit Main files and be able to commit back to its
> repository.
> 
> 2 has lower priority than 1. 
> 
> Good ideas appreciated.

This sounds like something for ACL:
http://www.selenic.com/mercurial/wiki/index.cgi/AclExtension

regards,

Benoit

-- 
:wq


More information about the Mercurial mailing list