~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-26 21:11:03 UTC
  • mfrom: (2447.1.7 bundle_empty_properties)
  • Revision ID: pqm@pqm.ubuntu.com-20070426211103-h84prqh7a4ad3ez2
(John Arbash Meinel) Fix bug #109613 by teaching Bundle how to properly read/write revision properties with no value.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
        # test push for failure without push location set
60
60
        os.chdir('branch_a')
61
 
        out = self.run_bzr('push', retcode=3)
 
61
        out = self.runbzr('push', retcode=3)
62
62
        self.assertEquals(out,
63
63
                ('','bzr: ERROR: No push location known or specified.\n'))
64
64
 
169
169
        t = self.make_branch_and_tree('from')
170
170
        t.commit(allow_pointless=True,
171
171
                message='first commit')
172
 
        self.run_bzr('push -d from to-one')
 
172
        self.runbzr('push -d from to-one')
173
173
        self.failUnlessExists('to-one')
174
 
        self.run_bzr('push -d %s %s' 
 
174
        self.runbzr('push -d %s %s' 
175
175
            % tuple(map(urlutils.local_path_to_url, ['from', 'to-two'])))
176
176
        self.failUnlessExists('to-two')
177
177