~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Marius Kruger
  • Date: 2008-10-03 21:31:00 UTC
  • mfrom: (3763 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3809.
  • Revision ID: amanic@gmail.com-20081003213100-q4rv2l9pn8qto9o0
merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
 
304
304
        """
305
305
        if path is None:
306
 
            path = os.path.getcwdu()
 
306
            path = osutils.getcwd()
307
307
        control = bzrdir.BzrDir.open(path, _unsupported)
308
308
        return control.open_workingtree(_unsupported)
309
 
        
 
309
 
310
310
    @staticmethod
311
311
    def open_containing(path=None):
312
312
        """Open an existing working tree which has its root about path.
313
 
        
 
313
 
314
314
        This probes for a working tree at path and searches upwards from there.
315
315
 
316
316
        Basically we keep looking up until we find the control directory or