/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_workingtree_4.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-11 07:22:39 UTC
  • mfrom: (4100.2.8 no-auto-reference)
  • Revision ID: pqm@pqm.ubuntu.com-20090311072239-dm56af7pf1j4i1nq
(abentley) Disable auto-detection of tree references.

Show diffs side-by-side

added added

removed removed

Lines of Context:
592
592
        revid = tree.commit('a commit')
593
593
        # tree's dirstate should now have a valid stat entry for foo.
594
594
        tree.lock_read()
 
595
        self.addCleanup(tree.unlock)
595
596
        entry = tree._get_entry(path='foo')
596
597
        expected_sha1 = osutils.sha_file_by_name('foo')
597
598
        self.assertEqual(expected_sha1, entry[1][0][1])