~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-12-09 08:38:02 UTC
  • mfrom: (4878.1.1 integration2)
  • Revision ID: pqm@pqm.ubuntu.com-20091209083802-i7thqoq5irt2r4ya
(vila) Fix babune failures when LC_ALL=C for bug #73073 fix using
        lexists not exists

Show diffs side-by-side

added added

removed removed

Lines of Context:
3071
3071
 
3072
3072
        if message is not None:
3073
3073
            try:
3074
 
                file_exists = os.path.exists(message)
 
3074
                file_exists = osutils.lexists(message)
3075
3075
            except UnicodeError:
3076
3076
                # The commit message contains unicode characters that can't be
3077
3077
                # represented in the filesystem encoding, so that can't be a