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

Re: /etc under svk

On Fri, Feb 11, 2005 at 06:36:04PM +0100, Enrico Zini wrote:
> 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.

Also, if instead of just using svk import one mirrors the //etc svk path from
a repository somewhere accessible, one can use svk push/pull to keep a copy on
a server, where a fault in the local hard disk will not destroy the contents.

Jesus Climent                                      info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.6.10|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

Gentlemen, you can't fight in here! This is the War Room. 
		--President Merkin Muffley (Dr. Strangelove) 

Reply to: