/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-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

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.assertTrue(b_wt.is_versioned(''))
33
 
        if b_wt.supports_setting_file_ids():
34
 
            self.assertEqual(b'b-id', b_wt.path2id(''))
35
 
            self.assertEqual(b'c-id', b_wt.path2id('c'))
36
 
            self.assertEqual('c', b_wt.id2path(b'c-id'))
37
 
            self.assertRaises(errors.BzrError, wt.id2path, b'b-id')
 
32
        self.assertEqual(b'b-id', b_wt.get_root_id())
 
33
        self.assertEqual(b'c-id', b_wt.path2id('c'))
 
34
        self.assertEqual('c', b_wt.id2path(b'c-id'))
 
35
        self.assertRaises(errors.BzrError, wt.id2path, b'b-id')
38
36
        self.assertEqual(b_wt.basedir, wt.abspath('b'))
39
37
        self.assertEqual(wt.get_parent_ids(), b_wt.get_parent_ids())
40
38
        self.assertEqual(wt.branch.last_revision(),