/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 breezy/tests/blackbox/test_switch.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-02 22:31:28 UTC
  • mfrom: (7291 work)
  • mto: This revision was merged to the branch mainline in revision 7293.
  • Revision ID: jelmer@jelmer.uk-20190302223128-0qk1i5tozmzq5nyq
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
        tree = branch.create_checkout('tree', lightweight=True)
348
348
 
349
349
        class FooLookup(object):
350
 
            def look_up(self, name, url):
 
350
            def look_up(self, name, url, purpose=None):
351
351
                return 'foo-' + name
352
352
        directories.register('foo:', FooLookup, 'Create branches named foo-')
353
353
        self.addCleanup(directories.remove, 'foo:')