/etc under SVK version control

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

/etc under SVK version control

Post 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>
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply