~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Robert Collins
  • Date: 2006-02-11 11:58:06 UTC
  • mto: (1534.1.22 integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060211115806-732dabc1e35714ed
Give format3 working trees their own last-revision marker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
            pass
77
77
        try:
78
78
            self.open_workingtree().clone(result, basis=basis_tree)
79
 
        except (errors.NotBranchError, errors.NotLocalUrl):
 
79
        except (errors.NoWorkingTree, errors.NotLocalUrl):
80
80
            pass
81
81
        return result
82
82
 
364
364
            self.open_workingtree().clone(result,
365
365
                                          revision_id=revision_id, 
366
366
                                          basis=basis_tree)
367
 
        except (errors.NotBranchError, errors.NotLocalUrl):
 
367
        except (errors.NoWorkingTree, errors.NotLocalUrl):
368
368
            result.create_workingtree()
369
369
        return result
370
370