So I just tried to convert a part of the fptools CVS repository to
darcs using tailor. I get the following complaint:
~/src/tailor > ~/local/tailor/tailor --configfile=alex.tailor
Bootstrapping '/home/simonmar/src/tailor'
/home/simonmar/src/tailor/darcs-co $ darcs initialize [Ok]
$ cvs -f -d /home/simonmar/local/cvs rlog -r:HEAD alex [Ok]
/home/simonmar/src/tailor $ cvs -q -d /home/simonmar/local/cvs
checkout -d cvs-co -D "2003-08-08 13:22:56 UTC" alex [Ok]
Error: Checkout of 'project' failed! -- Exception
vcpx.target.TargetInitializationFailure: Something went wrong: unable
to determine the exact upstream revision of the checked out tree in
'/home/simonmar/src/tailor/cvs-co'
Failure initializing the target VCS: Something went wrong: unable to
determine the exact upstream revision of the checked out tree in
'/home/simonmar/src/tailor/cvs-co'
Here's tailor.log
005-10-13 12:45:10,500 [INFO] Bootstrapping '/home/simonmar/src/tailor'
2005-10-13 12:45:11,054 [ERROR] Checkout of 'project' failed!
Traceback (most recent call last):
File "/home/simonmar/local/tailor/vcpx/tailor.py", line 73, in bootstrap
actual = dwd.checkoutUpstreamRevision(revision)
File "/home/simonmar/local/tailor/vcpx/source.py", line 227, in
checkoutUpstreamRevision
last = self._checkoutUpstreamRevision(revision)
File "/home/simonmar/local/tailor/vcpx/cvs.py", line 603, in
_checkoutUpstreamRevision
last = CvspsWorkingDir._checkoutUpstreamRevision(self, revision)
File "/home/simonmar/local/tailor/vcpx/cvsps.py", line 370, in
_checkoutUpstreamRevision
raise TargetInitializationFailure(
TargetInitializationFailure: Something went wrong: unable to determine
the exact upstream revision of the checked out tree in
'/home/simonmar/src/tailor/cvs-co'
Here's my config file:
---------------------------------
[DEFAULT]
verbose = True
[project]
target = darcs:target
start-revision = INITIAL
root-directory = /home/simonmar/src/tailor
state-file = tailor.state
source = cvs:source
[darcs:target]
repository = /home/simonmar/src/darcs/alex
subdir = darcs-co
[cvs:source]
module = alex
repository = /home/simonmar/local/cvs
subdir = cvs-co
----------------------------------
I tried various modifications of subdir. Also as far as I can tell
'cvs log' and suchlike are working fine on the checked-out copy.
Any ideas?
Cheers,
Simon
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor