Rev 4881: (vila) Fix babune failures when LC_ALL=C for bug #73073 fix using in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Dec 9 08:38:04 GMT 2009


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4881 [merge]
revision-id: pqm at pqm.ubuntu.com-20091209083802-i7thqoq5irt2r4ya
parent: pqm at pqm.ubuntu.com-20091209063740-orfojzx53lbt29ey
parent: v.ladeuil+lp at free.fr-20091209075438-sqiwcoty3jv88pdg
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2009-12-09 08:38:02 +0000
message:
  (vila) Fix babune failures when LC_ALL=C for bug #73073 fix using
  	lexists not exists
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2009-12-09 05:47:32 +0000
+++ b/bzrlib/builtins.py	2009-12-09 08:38:02 +0000
@@ -3071,7 +3071,7 @@
 
         if message is not None:
             try:
-                file_exists = os.path.exists(message)
+                file_exists = osutils.lexists(message)
             except UnicodeError:
                 # The commit message contains unicode characters that can't be
                 # represented in the filesystem encoding, so that can't be a




More information about the bazaar-commits mailing list