/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 breezy/tests/test_extract.py

  • Committer: Jelmer Vernooij
  • Date: 2019-08-11 13:21:03 UTC
  • mfrom: (7379 work)
  • mto: This revision was merged to the branch mainline in revision 7388.
  • Revision ID: jelmer@jelmer.uk-20190811132103-u3ne03yf37c1h57n
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        wt.add(['b', 'b/c', 'd'], [b'b-id', b'c-id', b'd-id'])
30
30
        wt.commit('added files')
31
31
        b_wt = wt.extract('b')
32
 
        self.assertEqual(b'b-id', b_wt.get_root_id())
 
32
        self.assertEqual(b'b-id', b_wt.path2id(''))
33
33
        self.assertEqual(b'c-id', b_wt.path2id('c'))
34
34
        self.assertEqual('c', b_wt.id2path(b'c-id'))
35
35
        self.assertRaises(errors.BzrError, wt.id2path, b'b-id')