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

  • Committer: Martin Pool
  • Date: 2007-05-07 12:03:14 UTC
  • mto: (2483.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2484.
  • Revision ID: mbp@sourcefrog.net-20070507120314-a2h78bjezemwyl17
Review cleanups from John, mostly docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
208
208
            # remotebranches can't be bound.  Let's instead make a new local
209
209
            # branch of the default type, which does allow binding.
210
210
            # See https://bugs.launchpad.net/bzr/+bug/112020
211
 
            if 1:
212
 
                local = BzrDir.create_branch_convenience('local2')
213
 
                local.bind(target)
214
 
            else:
215
 
                raise TestSkipped("Can't bind %s to %s" %
216
 
                    (local, target))
 
211
            local = BzrDir.create_branch_convenience('local2')
 
212
            local.bind(target)
217
213
        source = self.make_branch('source')
218
214
        Branch.hooks.install_hook('post_push', self.capture_post_push_hook)
219
215
        source.push(local)