~jameinel/bzr-pipeline/2.6-compat

« back to all changes in this revision

Viewing changes to tests/test_pipeline.py

  • Committer: Aaron Bentley
  • Date: 2011-03-30 01:29:49 UTC
  • Revision ID: aaron@aaronbentley.com-20110330012949-3ervk2gty13d1mvp
bzr-reconfigure uses .bzr/branches instead of .bzr/pipes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
870
870
        tree.branch.nick = 'bar'
871
871
        tree.commit('rev1', rev_id='rev1-id')
872
872
        tree_to_pipeline(tree)
873
 
        b = branch.Branch.open('foo/.bzr/pipes/bar')
 
873
        b = branch.Branch.open('foo/.bzr/branches/bar')
874
874
        self.assertEqual('rev1-id', b.last_revision())
875
875
        self.assertRaises(errors.NoWorkingTree,
876
 
                          workingtree.WorkingTree.open, 'foo/.bzr/pipes/bar')
 
876
                          workingtree.WorkingTree.open,
 
877
                          'foo/.bzr/branches/bar')
877
878
        self.assertTrue(b.repository.is_shared())
878
879
        self.assertEqual(b.base, branch.Branch.open('foo').base)
879
880
        self.assertFalse(tree.is_ignored('pipes'))