rollback capability for linux config files and scripts
Marcin Kasperski
Marcin.Kasperski at softax.com.pl
Tue Mar 11 15:54:56 CDT 2008
>> Frequently, when I modify my scripts or config files on my Linux box I'm
>> afraid I'll break something and hence make a manual backup copy. This only
>> gets me a manual, rudimentary rollback capability. I was looking into using
>> cvs / mercury / subversion to help me get this a little more efficient and
>> safer.
>> (...)
>
> If its just keeping track of changes to a few files spread out [in
> different directories], I would just use RCS. Its primary purpose was
> to track individual files changes anyway..
RCS does not handle file renames, removals etc, not to mention symlinks.
I am using mercurial for similar tasks, and I am fairly glad with that.
My approach is simple - I 'hg init' in crucial configuration directories,
review && addremove && commit after automatical updates, commit with
reasonable comments after own updates etc.
This works for me smoothly, from /etc to ~/emacs ...
--
----------------------------------------------------------------------
| Marcin Kasperski | You have the right to produce quality work
| http://mekk.waw.pl | at all the times. (Beck)
| |
----------------------------------------------------------------------
More information about the Mercurial
mailing list