Using mercurial for configuration files version control

Hans Meine meine at informatik.uni-hamburg.de
Thu Nov 25 15:20:24 UTC 2010


Op den Dunnersdag 25 November 2010 Klock 16:09:38 hett Vadym Chepkov schreven:
> On Nov 25, 2010, at 9:58 AM, Martin Geisler wrote:
> > Vadym Chepkov <vchepkov at gmail.com> writes:
> >> I basically need a tool that can track and apply "patches" for me and
> >> I was hoping mercurial is capable to do this.
> > 
> > The mq extension does exactly that: it maintaines a stack of patches on
> > top of normal Mercurial changesets.
> > 
> >  http://mercurial.selenic.com/wiki/MqExtension
> 
> mq is managing local patches, if I am not mistaken, whereas I need to apply
> remote changes, remote deltas.

No, you need both.  As I understood Martin, he suggested to use MQ for the 
local changes, i.e. the rc.conf stuff.  Then you can qpop/qpush around your 
synchronization with master.

Personally, I have given up this approach w.r.t. /etc; I think mercurial is 
not the right tool for that.

HTH,
  Hans



More information about the Mercurial mailing list