Hello,
I am trying to import a CVS repo into bzr (and also, later, to mercurial).
The catch is I need to do this on Windows. I realize the docs say that
Windows is unsupported but it seems very close to working...
The CVS repo is in a local directory and it works fine if I import revision
HEAD, but if I try to import revision INITIAL, I get this:
[... much revision related output elided ...]
13:59:43 [I] Cached information about 588 pending changesets
13:59:43 [I] C:\temp\jb $ cvs.exe -f -q -d \temp\cvs checkout -d jbnew
-D "2006-09-20 21:50:06 UTC" jb
13:59:43 [D] Executing cvs.exe -f -q -d \temp\cvs checkout -d jbnew
-D "2006-09-20 21:50:06 UTC" jb ('C:\\temp\\jb')
? jbnew/.bzr
U jbnew/doc/schema.png
U jbnew/pg/data/kwaudit.sql
[... file list elided ...]
U jbnew/python/tables.py
13:59:45 [I] [Ok]
13:59:45 [I] Forcing CVS sticky tag in C:\temp\jb\jbnew
13:59:45 [C] Checkout of project failed!
Failure initializing the target VCS: Something went wrong: unable to
determine
the exact upstream revision of the checked out tree in
'C:\temp\jb\jbnew'. Either
you specified the wrong initial timestamp, or you are checking out a
composition
of 'CVS modules' and Tailor does not support them; see the option
'trim-module-
components' for a possible workaround.
Not sure what a "composition" is (didn't find that word in the Tailor
docs). I tried the trim-module-components option as suggested with
values between 1 and 5 but it made no difference.
I am clueless about how tailor works, and my cvs knowledge is only
slightly greater, so I could use some help!
Here is the config file am using. Could the problem be related to the
backslash path separators in the cvs:source/repository option? If I use
forward slashes there, the cvs commands fail. (The cvs command is
Cygwin's but I am running this directly in a Windows' cmd window, not
a Cygwin shell).
Here is my config file:
---------------
[DEFAULT]
verbose = True
[project]
target = bzr:target
start-revision = INITIAL
root-directory = /temp/jb
state-file = tailor.state
source = cvs:source
subdir = jbnew
trim-module-components = 2
[bzr:target]
repository = /stuart/develop/bzr
[cvs:source]
module = jb
repository = \temp\cvs
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor