adding my entire home dir with a "bzr init ~/"
Alexander Belchenko
bialix at ukr.net
Thu Mar 20 09:43:17 GMT 2008
Doug Lee пишет:
> On Wed, Mar 12, 2008 at 08:38:23PM -0400, Forest Bond wrote:
>> I version control my home dir with bzr, and use it to push and pull those
>> configs from various machines I use. Works great! Been doing it for a while,
>> too.
>
> My only addition is that I've started using Bazaar to version
> scattered config files across an entire FreeBSD system. This seems to
> require a small adjustment to get the .bzr file where it needs to be,
> and another to put the data elsewhere, but otherwise it seems to work
> nicely:
>
> bzr init-repo --no-trees /var/bzr/cnf
> bzr init /var/bzr/cnf/sysname
> cd /
> bzr co --lightweight /var/bzr/cnf/sysname
> mv /sysname/.bzr /
you can do it in one step:
bzr co --lightweight /var/bzr/cnf/sysname .
> rmdir /sysname
> bzr add etc
> bzr add usr/local/etc
> bzr commit -m "/etc and /usr/local/etc versioning started."
> .... etc...
>
> Just don't type ``bzr add'' with no arguments, unless you're
> stress-testing your system. :-)
>
More information about the bazaar
mailing list