/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_ancestry.py

  • Committer: Martin Pool
  • Date: 2006-01-30 06:23:50 UTC
  • mfrom: (1534.1.17 integration)
  • Revision ID: mbp@sourcefrog.net-20060130062350-d6f25277ddcdfd79
[merge] robert's integration of much recent work

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
                  allow_pointless=True,
40
40
                  rev_id='tester@foo--2')
41
41
 
42
 
        ancs = b.get_ancestry('tester@foo--2')
 
42
        ancs = b.repository.get_ancestry('tester@foo--2')
43
43
        self.assertEqual([None, 'tester@foo--1', 'tester@foo--2'], ancs)
44
44
        self.assertEqual([None, 'tester@foo--1'], 
45
 
                         b.get_ancestry('tester@foo--1'))
 
45
                         b.repository.get_ancestry('tester@foo--1'))
46
46
 
47
47
    def test_none_is_always_an_ancestor(self):
48
48
        b = Branch.initialize(u'.')