fails to process repository due to commit message value

Bug #393758 reported by Christopher Nolan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
svn2bzr
New
Undecided
Unassigned

Bug Description

svn2bzr errors and fails to complete converting a repository due to the format of one of the svn commit messages.

The commit message is:
'Started to spingify, 1 failing test.\r\nSorry abot size.'

Stack trace is:
Traceback (most recent call last):
  File "./svn2bzr.py", line 194, in <module>
    main()
  File "./svn2bzr.py", line 187, in main
    log=log)
  File "./svn2bzr.py", line 88, in svn2bzr
    creator.run()
  File "/Users/chrisnolan/Documents/Programming/cfssvn2bzr/branchcreator.py", line 624, in run
    self.commit_revision(revno, revision)
  File "/Users/chrisnolan/Documents/Programming/cfssvn2bzr/branchcreator.py", line 606, in commit_revision
    timestamp=timestamp, timezone=offset)
  File "/Users/chrisnolan/Documents/Programming/cfssvn2bzr/branchcreator.py", line 490, in commit
    timestamp, timezone)
  File "/Users/chrisnolan/Documents/Programming/cfssvn2bzr/branchcreator.py", line 526, in commit_brt
    verbose=False)
  File "<string>", line 4, in commit_write_locked
  File "/Library/Python/2.5/site-packages/bzrlib/workingtree_4.py", line 226, in commit
    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
  File "<string>", line 4, in commit_write_locked
  File "/Library/Python/2.5/site-packages/bzrlib/mutabletree.py", line 228, in commit
    *args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/commit.py", line 379, in commit
    self.rev_id = self.builder.commit(self.message)
  File "/Library/Python/2.5/site-packages/bzrlib/repository.py", line 165, in commit
    self._validate_unicode_text(message, 'commit message')
  File "/Library/Python/2.5/site-packages/bzrlib/repository.py", line 148, in _validate_unicode_text
    raise ValueError('Invalid value for %s: %r' % (context, text))
ValueError: Invalid value for commit message: u'Started to spingify, 1 failing test.\r\nSorry abot size.'

Related branches

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.