I called svn-import on our repository
cd ~/bzr
bzr svn-import svn+ssh://svn.silverstripe.com/usr/local/svn_reps/silverstripe repos
And got the following output
bzr: ERROR: exceptions.UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors
return run_bzr(argv)
File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 818, in ignore_pipe
result = func(*args, **kwargs)
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/__init__.py", line 274, in run
from_repos.get_latest_revnum())
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/mapping3/__init__.py", line 196, in repository_guess_scheme
repository._log.iter_changes(None, last_revnum, max(0, last_revnum-SCHEME_GUESS_SAMPLE_SIZE), pb=pb), last_revnum, branch_path)
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/mapping3/scheme.py", line 488, in guess_scheme_from_history
for (revpaths, revnum, revprops) in changed_paths:
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 310, in iter_changes
self.fetch_revisions(max(from_revnum, to_revnum), pb=pb)
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 468, in fetch_revisions
self.actual._transport.get_log(rcvr, [""], self.saved_revnum, to_revnum, 0, True, True, False, todo_revprops)
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/transport.py", line 341, in get_log
revprops)
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 453, in rcvr
self.cache.insert_revprops(revision, revprops)
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 231, in insert_revprops
self.insert_revprop(revision, k, v)
File "/Library/Python/2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 225, in insert_revprop
self.cachedb.execute("replace into revprop (rev, name, value) values (?, ?, ?)", (rev, name.decode("utf-8"), value.decode("utf-8")))
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data
bzr 1.7.1 on python 2.5.1 (darwin)
arguments: ['/usr/local/bin/bzr', 'svn-import', 'svn+ssh://svn.silverstripe.com/usr/local/svn_reps/silverstripe', 'repos']
encoding: 'US-ASCII', fsenc: 'utf-8', lang: 'en_NZ.US-ASCII'
plugins:
bzrtools /Library/Python/2.5/site-packages/bzrlib/plugins/bzrtools [1.7.0]
launchpad /Library/Python/2.5/site-packages/bzrlib/plugins/launchpad [unknown]
qbzr /Library/Python/2.5/site-packages/bzrlib/plugins/qbzr [0.9.4]
rebase /Library/Python/2.5/site-packages/bzrlib/plugins/rebase [0.4.0dev0]
svn /Library/Python/2.5/site-packages/bzrlib/plugins/svn [0.4.13]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
It appears as though this bug occurs when you branch our Linux-hosted svn repository from an OSX machine, but not if you branch it from another Linux machine.
My guess is that it is looking in one of the SVN text fields for a "FF-FE" entry that doesn't exist.