Nested repos

Matt Mackall mpm at selenic.com
Tue Jul 21 21:08:44 CDT 2009


On Tue, 2009-07-21 at 19:05 -0700, John Patterson wrote:
> 
> 
> Matt Mackall wrote:
> > 
> > 
> > No, Mercurial will steadfastly refuse to look at files in a nested
> > repository. Short of fiddling with union mounts or similar, there's no
> > way around it. As far as I know, you're the first person to ask for this
> > particular behavior variant.
> > 
> > 
> 
> I was wondering what is the recommended approach to shared "modules"?  I
> can't find this mentioned in the documentation.

Right now it's "do it by hand", the forest extension, or the new
subrepos feature.

> Is it possible to get hg to ignore the nested .hg folders?  Or is my
> approach to shared modules just a bad idea?

You'd need to modify some code to make this happen.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list