migrating from CVS
Matthew D. Fuller
fullermd at over-yonder.net
Sun Mar 5 17:00:54 GMT 2006
On Wed, Mar 01, 2006 at 09:42:38PM -0500 I heard the voice of
James Blackwell, and lo! it spake thus:
>
> If you can't wait or need to roll on your own (say its nonfree
> software), then take a look at tailor
> (http://www.darcs.net/DarcsWiki/Tailor) as referenced on
> http://bazaar-vcs.org/BzrMigration.
Tailor seems to work, though it's difficult to figure out what you
need to to do actually _configure_ it. And since I don't have or want
to install darcs, and since there are apparently no tarballs of it
anywhere accessible, I had to slap together a rsync script to get a
copy of it.
For what help it may be, here's a lightly edited config (with
description of setup following) that I used to convert (and update for
a while, while I kept using CVS) a CVS repo into a bzr branch, before
I junked the CVS version altogether ;)
-----------------
[DEFAULT]
verbose = yes
[msl]
source = cvs:msl
target = bzr:msl
state-file = msl.state
root-directory = /tmp/tailor/msl/working
[cvs:msl]
repository = /tmp/tailor/msl/cvs
module = foobar
subdir = cvs
[bzr:msl]
subdir = bzr
command = /home/fullermd/src/bzr/bzr.dev/bzr
python-path = /home/fullermd/src/bzr/bzr.dev/
-----------------
In this case, I had a dir /tmp/tailor/msl. Into $DIR/cvs, I rsync'd a
copy of the CVS repo in question. I made the $DIR/working dir.
Tailor was invoked (while in $DIR) from a script as
% ../tailor/tailor -Dv --configfile=tailor.conf
(my rsync of tailor being in /tmp/tailor/tailor/)
It created a checkout of the 'foobar' module from the $DIR/cvs repo,
at $DIR/working/cvs, and translated it into a bzr branch at
$DIR/working/bzr. A few state files for tailor are directly in in
$DIR/working/. The "command" and "python-path" directives in the
[bzr:msl] section are there because I was using my mirror of the dev
version, instead of the release installed system-wide.
Some of that config may not be needed, or may be wrong in some way. I
sure couldn't tell from the docs. But it worked.
--
Matthew Fuller (MF4839) | fullermd at over-yonder.net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
More information about the bazaar
mailing list