I'm getting an error message when I run tailor with the following config
file, choosing the project java:
[DEFAULT]
use-propset = True
encoding = utf8
root-directory = /subversion/.sync/hybrid
subdir = java
[java]
target = svn:java
start-revision = INITIAL
source = cvs:java
[reverse_java]
source = svn:java
target = cvs:java
[cvs:java]
module = java
repository
= :pserver:[EMAIL PROTECTED]:/streamsage/cvsroot
[svn:java]
module = java
repository = file:///subversion/research
Here's the output with -v and -D -- the ellipses are the rlog output,
which is a great number of lines:
$ svn ls file:///subversion/research [Ok]
$ cvs -f
-d :pserver:[EMAIL PROTECTED]:/streamsage/cvsroot
rlog -N -r:HEAD java
...
Traceback (most recent call last):
File "/usr/bin/tailor", line 35, in ?
main()
File "/usr/lib/python2.3/vcpx/tailor.py", line 333, in main
tailorizer()
File "/usr/lib/python2.3/vcpx/tailor.py", line 153, in
__call__
self.bootstrap()
File "/usr/lib/python2.3/vcpx/tailor.py", line 73, in
bootstrap
actual = dwd.checkoutUpstreamRevision(revision)
File "/usr/lib/python2.3/vcpx/source.py", line 220, in
checkoutUpstreamRevision
last = self._checkoutUpstreamRevision(revision)
File "/usr/lib/python2.3/vcpx/cvs.py", line 378, in
_checkoutUpstreamRevision
last = CvspsWorkingDir._checkoutUpstreamRevision(self,
revision)
File "/usr/lib/python2.3/vcpx/cvsps.py", line 285, in
_checkoutUpstreamRevision
csets = list(self.getPendingChangesets(revision))
File "/usr/lib/python2.3/vcpx/source.py", line 187, in
getPendingChangesets
changesets = self._getUpstreamChangesets(revision)
File "/usr/lib/python2.3/vcpx/cvs.py", line 370, in
_getUpstreamChangesets
return changesets_from_cvslog(log, self.repository.module)
File "/usr/lib/python2.3/vcpx/cvs.py", line 42, in
changesets_from_cvslog
collected = ChangeSetCollector(log, module)
File "/usr/lib/python2.3/vcpx/cvs.py", line 111, in __init__
self.__parseCvsLog()
File "/usr/lib/python2.3/vcpx/cvs.py", line 264, in
__parseCvsLog
cs = self.__parseRevision(entry)
File "/usr/lib/python2.3/vcpx/cvs.py", line 219, in
__parseRevision
l = self.__readline()
File "/usr/lib/python2.3/vcpx/cvs.py", line 140, in __readline
l = self.log.readline()
File "/usr/lib/python2.3/codecs.py", line 295, in readline
return self.decode(line, self.errors)[0]
UnicodeDecodeError: 'utf8' codec can't decode bytes in position
15-17: invalid data
Am I right to understand that the problem is an sequence of bytes in the
rlog output that are not parsable as utf8? And does anyone have any
suggestions for how to fix this? I'm afraid I don't know Python.
David Houghton
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor