[PATCH] Check for .hgrc files in ancestor directories above the repository

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Mon Jan 14 07:39:39 CST 2008


On Jan 14, 2008 2:19 PM, Jesse Glick <jesse.glick at sun.com> wrote:
> Peter Arrenbrecht wrote:
> > Consider someone or an organization that starts new projects by
> > cloning a central template repo (which, for example, includes
> > predefined build scripts, documentation structure, etc.).
>
> Does anyone actually do this? If you have a project skeleton, there is
> no reason to clone a repo to get it. Just
>
> hg init
> cp -rv ~/prj-skeleton/* .
> hg ci -m skeleton

Does anyone actually do this? I don't know. Might there be a reason
for it? Absolutely. It would allow for controlled merging in of
changes to the template (build scripts, for instance).

-peo


More information about the Mercurial-devel mailing list