~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_ancestry.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-17 08:50:40 UTC
  • mfrom: (1704.2.18 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060517085040-ee6e33957c557fba
(mbp) merge 0.8 fixes; fix #32587

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        a_wt.commit('modified A/foo',rev_id='A2')
38
38
        merge(['B',-1],['B',1],this_dir='A')
39
39
        a_wt.commit('merged B into A',rev_id='A3')
40
 
        self.run_bzr('ancestry')
 
40
        os.chdir('A')
 
41
        out, err = self.run_bzr('ancestry')
 
42
        self.assertEquals(err, '')
 
43
        self.assertEqualDiff(out,
 
44
"""A1
 
45
B1
 
46
A2
 
47
A3
 
48
""")
 
49