~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: John Arbash Meinel
  • Date: 2007-11-06 23:55:37 UTC
  • mto: This revision was merged to the branch mainline in revision 3134.
  • Revision ID: john@arbash-meinel.com-20071106235537-7i20o3iwf7cb9alt
Only one test failed, because it was incorrectly succeeding.
If the repository doesn't support nested trees, then the working tree shouldn't either.
However, the test was only run based on the null: tree, which used a different code path.
And that code path could *never* find nested trees.
This changes it so that we always return False for _directory_is_tree_reference if the
repository does not support it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
        self._dirstate = None
152
152
        self._inventory = None
153
153
        #-------------
 
154
        self._setup_directory_is_tree_reference()
154
155
 
155
156
    @needs_tree_write_lock
156
157
    def _add(self, files, ids, kinds):