Using mercurial for configuration files version control

Mads Kiilerich mads at kiilerich.com
Thu Nov 25 15:36:55 UTC 2010


On 11/25/2010 02:54 PM, Vadym Chepkov wrote:
> Hi,
>
> I am trying to use mercurial for tracking / populating configuration files and I am facing some obstacles I need help to overcome.
> The technique works quite well with a standalone host. I usually do this:
>
> cd /etc
> hg init
> cat>  .hgignore<<EOF
> syntax: glob
> *
> EOF
> hg add .hgignore
> hg commit -m "Starting with empty set"
>
> Then I add all files I modify to the repository and track changes that were made.

Something like this is discussed on 
http://mercurial.selenic.com/wiki/TrackingEtcEtc . I doubt that page 
gives you the answer, but perhaps you can add something to it.

/Mads



More information about the Mercurial mailing list