Rev 2245: Pass utf-8 connect string to sqlite3() connect function. in http://people.samba.org/bzr/jelmer/bzr-svn/0.5
Jelmer Vernooij
jelmer at samba.org
Mon Dec 8 17:45:57 GMT 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/0.5
------------------------------------------------------------
revno: 2245
revision-id: jelmer at samba.org-20081208174554-3mbga49yin75mkw1
parent: jelmer at samba.org-20081208173437-j97fo9ntubiiwjnh
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.5
timestamp: Mon 2008-12-08 18:45:54 +0100
message:
Pass utf-8 connect string to sqlite3() connect function.
modified:
NEWS news-20061231030336-h9fhq245ie0de8bs-1
repository.py repository.py-20060306123302-1f8c5069b3fe0265
=== modified file 'NEWS'
--- a/NEWS 2008-12-08 16:01:50 +0000
+++ b/NEWS 2008-12-08 17:45:54 +0000
@@ -9,6 +9,8 @@
* Handle duplicate forward slashes in the path part of a URL.
+ * Pass utf-8 connect string to sqlite3() connect function. (#262923)
+
bzr-svn 0.5.0~rc1 2008-12-08
CHANGES
=== modified file 'repository.py'
--- a/repository.py 2008-12-08 01:38:06 +0000
+++ b/repository.py 2008-12-08 17:45:54 +0000
@@ -21,6 +21,7 @@
branch,
errors as bzr_errors,
graph,
+ osutils,
ui,
urlutils,
xml6,
@@ -159,7 +160,7 @@
if "log" in use_cache or "revids" in use_cache:
cache_file = os.path.join(cache_dir, 'cache-v%d' % CACHE_DB_VERSION)
if not cachedbs().has_key(cache_file):
- cachedbs()[cache_file] = cache.connect_cachefile(cache_file)
+ cachedbs()[cache_file] = cache.connect_cachefile(cache_file.decode(osutils._fs_enc).encode("utf-8"))
self.cachedb = cachedbs()[cache_file]
if "log" in use_cache:
More information about the bazaar-commits
mailing list