/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/commands/test_push.py

  • Committer: Martin Pool
  • Date: 2009-01-13 05:16:26 UTC
  • mfrom: (3936 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3940.
  • Revision ID: mbp@sourcefrog.net-20090113051626-0d5q6luqdoyx4xaf
Fix recommend_upgrade ui and merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        cmd.outf = tests.StringIOWrapper()
33
33
        cmd.run(self.get_url('remote'), directory='branch')
34
34
        self.assertEquals(1, len(self.connections))
 
35
 
 
36
    def test_push_onto_stacked(self):
 
37
        self.make_branch_and_tree('base', format='1.9')
 
38
        self.make_branch_and_tree('source', format='1.9')
 
39
 
 
40
        self.start_logging_connections()
 
41
 
 
42
        cmd = cmd_push()
 
43
        cmd.outf = tests.StringIOWrapper()
 
44
        cmd.run(self.get_url('remote'), directory='source',
 
45
                stacked_on=self.get_url('base'))
 
46
        self.assertEqual(1, len(self.connections))