ValueError: Invalid value for commit message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
svn2bzr |
New
|
Undecided
|
Martin Spacek |
Bug Description
When I attempt to migrate our Subversion repository using the latest svn2bzr code, I get:
Nothing changed in revision 169
Committing revision 170
Committing revision 171
Nothing changed in revision 172
Committing revision 173
Traceback (most recent call last):
File "./svn2bzr.py", line 1083, in <module>
main()
File "./svn2bzr.py", line 1076, in main
opts.prefix, opts.filter)
File "./svn2bzr.py", line 1005, in svn2bzr
creator.run()
File "./svn2bzr.py", line 419, in run
commit()
File "./svn2bzr.py", line 410, in commit
timestamp=
File "./svn2bzr.py", line 386, in commit
verbose=False)
File "<string>", line 4, in commit_write_locked
File "/usr/lib/
result = WorkingTree3.
File "<string>", line 4, in commit_write_locked
File "/usr/lib/
*args, **kwargs)
File "/usr/lib/
self.rev_id = self.builder.
File "/usr/lib/
self.
File "/usr/lib/
raise ValueError('Invalid value for %s: %r' % (context, text))
ValueError: Invalid value for commit message: u'Copied Chapter 5 (SiteMesh) complete over ZacksTool. Defines new baseline. \r\nRenamed org.appfuse to org.alembix.\n'
peterc@
Examining the svn dump file, it appears to have the following at that point in the conversion:
02453880 62 61 73 65 6c 69 6e 65 2e 20 26 23 31 30 3b 52 |baseline. R|
02453890 65 6e 61 6d 65 64 20 6f 72 67 2e 61 70 70 66 75 |enamed org.appfu|
024538a0 73 65 20 74 6f 20 6f 72 67 2e 61 6c 65 6d 62 69 |se to org.alembi|
024538b0 78 2e 22 20 2f 3e 0a 20 20 20 20 3c 6f 70 74 69 |x." />. <opti|
Note that this is different from https:/ /bugs.launchpad .net/bugs/ 345247. I was attempting to use the --scheme=trunk on the migration:
sudo ./svn2bzr.py --scheme=trunk /home/peterc/ svn-repos- dump-full_ 20081001- 0130 /var/bzr
bzr version: 1.14dev
svn version: 1.5.1