~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.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:
214
214
                 "deprecated as of bzr 0.8. Please use working_tree= instead.",
215
215
                 DeprecationWarning, stacklevel=2)
216
216
            self.branch = branch
217
 
            self.work_tree = WorkingTree(branch.base, branch)
 
217
            self.work_tree = self.branch.bzrdir.open_workingtree()
218
218
        elif working_tree is None:
219
219
            raise BzrError("One of branch and working_tree must be passed into commit().")
220
220
        else: