~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: John Arbash Meinel
  • Date: 2006-07-03 18:27:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1851.
  • Revision ID: john@arbash-meinel.com-20060703182735-3081f13e92d7f657
WorkingTree.open_containing() was directly calling os.getcwdu(), which on mac returns the wrong normalization, and on win32 would have the wrong slashes

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
        :return: The WorkingTree that contains 'path', and the rest of path
355
355
        """
356
356
        if path is None:
357
 
            path = os.getcwdu()
 
357
            path = osutils.getcwd()
358
358
        control, relpath = bzrdir.BzrDir.open_containing(path)
359
359
 
360
360
        return control.open_workingtree(), relpath