Rev 4879: Fix babune failures when LC_ALL=C for bug #73073 fix using lexists not exists in http://bazaar.launchpad.net/~vila/bzr/integration2
Vincent Ladeuil
v.ladeuil+lp at free.fr
Wed Dec 9 07:54:48 GMT 2009
At http://bazaar.launchpad.net/~vila/bzr/integration2
------------------------------------------------------------
revno: 4879
revision-id: v.ladeuil+lp at free.fr-20091209075438-sqiwcoty3jv88pdg
parent: pqm at pqm.ubuntu.com-20091208183223-zh0w93eu1m8n7wj7
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: integration2
timestamp: Wed 2009-12-09 08:54:38 +0100
message:
Fix babune failures when LC_ALL=C for bug #73073 fix using lexists not exists
-------------- next part --------------
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py 2009-12-08 17:30:11 +0000
+++ b/bzrlib/builtins.py 2009-12-09 07:54:38 +0000
@@ -3068,7 +3068,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