[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/etc under svk



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>

Attachment: signature.asc
Description: Digital signature


Reply to: