version control hgrc files

Yuya Nishihara yuya at tcha.org
Wed Jan 12 10:16:31 CST 2011


Felix Dorner wrote:
> I think just having a script that just symlinks to the correct file.

I use that kind of script to manage http repos.

https://bitbucket.org/yuja/hgrc.d/src/df725a80b2aa/install.py

It creates/installs .hgrc by symlink, e.g.

    foo.hgrc <- {target}/foo/.hg/hgrc
    foo/bar.hgrc <- {target}/foo/bar/.hg/hgrc
    foo/dot.hg/dot.patches <- {target}/foo/.hg/.patches/.hg/hgrc

Yuya,


More information about the Mercurial mailing list