~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Martin Pool
  • Date: 2005-07-11 22:20:04 UTC
  • Revision ID: mbp@sourcefrog.net-20050711222004-4130f49c487f0bb8
patch from John

On Mac OSX /tmp is actually a symlink to /private/tmp
so _relpath() fails because the real full path is different.

The attached path just makes dtmp be expanded to it's real path, which
makes the tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
14
14
 
15
15
 
 
16
 
 
17
# TODO: Could probably replace this with something based on Python logging
 
18
# module.
 
19
 
 
20
 
 
21
 
 
22
 
16
23
__copyright__ = "Copyright (C) 2005 Canonical Ltd."
17
24
__author__ = "Martin Pool <mbp@canonical.com>"
18
25