Page 1 of 1

/etc under SVK version control

Posted: Sun May 04, 2008 2:00 pm
by ^rooker
This is a backup copy of the following Debian mailing list entry:
http://lists.debian.org/debian-devel/20 ... 00495.html
Hello,
a tip to share:

# Install svk
apt-get install svk

# Initialize a depot in /root/.svk
svk depotmap --init

# Import /etc making it a working copy
svk import --to-checkout //etc /etc

# Make your depot not that readable
chmod -R go-rwx ~/.svk

# Remove volatile files from revision control
cd /etc
svk rm -K adjtime ld.so.cache

...and voilà, you have /etc/ under revision control, without CVS or .svn
or {arch} files around. The syntax of svk is just like the syntax of
svn, of which it's a distributed extension.

And a question: where do we collect this kind of tips?

Ciao,
Enrico
--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@enricozini.org>