I am sorry for late feedback. I found out that this fix doesn't work for me.
Below is output from bzr svn-import. Your fix encoded filename passed to sqlite. The encoding name is taken from osutils._fs_enc, which returns 'mbcs'. I tried hardcoded value "utf8" instead of osutils._fs_enc and it actually works fine. It seems that sqlite expects utf8 encoding.
Here is an error output before I changed encoding to "utf8":
C:\temp\convert\ecos-full>bzr svn-import file:///C:/data/svn/ecos-full
Initialising Subversion metadata cache in C:/Documents and Settings/bgabrhelik/D
ata aplikací/bazaar/2.0\svn-cache\f6d051f5-4fe7-e246-b4cf-f19aecd70f77
bzr: ERROR: sqlite3.OperationalError: unable to open database file
Traceback (most recent call last):
File "bzrlib\commands.pyo", line 893, in run_bzr_catch_errors
File "bzrlib\commands.pyo", line 839, in run_bzr
File "bzrlib\commands.pyo", line 539, in run_argv_aliases
File "bzrlib\commands.pyo", line 853, in ignore_pipe
File "C:/Program Files/Bazaar/plugins\svn\__init__.py", line 244, in run
File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 72, in open_reposit
ory
File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 205, in __init_
_
OperationalError: unable to open database file
bzr 1.9 on python 2.5.2 (win32)
arguments: ['bzr', 'svn-import', 'file:///C:/data/svn/ecos-full']
encoding: 'cp1250', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\plugins\bzrtools [1.9.1]
launchpad C:\Program Files\Bazaar\plugins\launchpad [unknown]
qbzr C:\Program Files\Bazaar\plugins\qbzr [0.9.5]
svn C:\Program Files\Bazaar\plugins\svn [0.4.14]
*** 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.
I am sorry for late feedback. I found out that this fix doesn't work for me.
Below is output from bzr svn-import. Your fix encoded filename passed to sqlite. The encoding name is taken from osutils._fs_enc, which returns 'mbcs'. I tried hardcoded value "utf8" instead of osutils._fs_enc and it actually works fine. It seems that sqlite expects utf8 encoding.
Here is an error output before I changed encoding to "utf8":
C:\temp\ convert\ ecos-full> bzr svn-import file:// /C:/data/ svn/ecos- full bgabrhelik/ D bazaar/ 2.0\svn- cache\f6d051f5- 4fe7-e246- b4cf-f19aecd70f 77 OperationalErro r: unable to open database file
Initialising Subversion metadata cache in C:/Documents and Settings/
ata aplikací/
bzr: ERROR: sqlite3.
Traceback (most recent call last): commands. pyo", line 893, in run_bzr_ catch_errors commands. pyo", line 839, in run_bzr commands. pyo", line 539, in run_argv_aliases commands. pyo", line 853, in ignore_pipe plugins\ svn\__init_ _.py", line 244, in run plugins\ svn\remote. py", line 72, in open_reposit plugins\ svn\repository. py", line 205, in __init_
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Program Files/Bazaar/
File "C:/Program Files/Bazaar/
ory
File "C:/Program Files/Bazaar/
_
OperationalError: unable to open database file
bzr 1.9 on python 2.5.2 (win32) //C:/data/ svn/ecos- full'] plugins\ bzrtools [1.9.1] plugins\ launchpad [unknown] plugins\ qbzr [0.9.5] plugins\ svn [0.4.14] /bugs.launchpad .net/bzr/ +filebug
arguments: ['bzr', 'svn-import', 'file:/
encoding: 'cp1250', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
qbzr C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.