[PATCH] RFC: localrepo: look at .hg/hgrc.d/*.rc after .hg/hgrc

John Coomes John.Coomes at sun.com
Wed Mar 5 17:51:36 CST 2008


Bryan O'Sullivan (bos at serpentine.com) wrote:
> Peter Arrenbrecht wrote:
> 
> > This is an attempt to solve the problem of configuring sets of
> > related server repos such that common config is kept central.
> > Instead of adding an include directive to .hg/hgrc, I simply
> > mimick /etc/mercurial/hgrc.d/*.rc for .hg/hgrc.d/*.rc. This allows
> > me to use symlinks to factor out common config:
> 
> Nice idea.  Please polish it up and submit a real version.

The major goal mentioned on 
http://www.selenic.com/mercurial/wiki/index.cgi/SpecificHgrcForSetsOfRepos
was to

	Do this extra configuration in such a way that new clones are
	automatically configured correctly.

I don't see how symlinks in .hg/hgrc.d/* accomplish it, since they're
not cloned (unless I'm missing something).  And what about filesystems
that don't have symlinks?

-John



More information about the Mercurial-devel mailing list