/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_pull.py

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-09 21:36:27 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210109213627-h1xwcutzy9m7a99b
Added 'Case Preserving Working Tree Use Cases' from Canonical Wiki

* Addod a page from the Canonical Bazaar wiki
  with information on the scmeatics of case
  perserving filesystems an a case insensitive
  filesystem works.
  
  * Needs re-work, but this will do as it is the
    same inforamoton as what was on the linked
    page in the currint documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
                         branch_b.get_parent())
275
275
 
276
276
    def test_pull_bundle(self):
277
 
        from breezy.testament import Testament
 
277
        from breezy.bzr.testament import Testament
278
278
        # Build up 2 trees and prepare for a pull
279
279
        tree_a = self.make_branch_and_tree('branch_a')
280
280
        with open('branch_a/a', 'wb') as f:
353
353
        class FooService(object):
354
354
            """A directory service that always returns source"""
355
355
 
356
 
            def look_up(self, name, url):
 
356
            def look_up(self, name, url, purpose=None):
357
357
                return 'source'
358
358
        directories.register('foo:', FooService, 'Testing directory service')
359
359
        self.addCleanup(directories.remove, 'foo:')
413
413
        # being too low. If rpc_count increases, more network roundtrips have
414
414
        # become necessary for this use case. Please do not adjust this number
415
415
        # upwards without agreement from bzr's network support maintainers.
416
 
        self.assertLength(19, self.hpss_calls)
 
416
        self.assertLength(20, self.hpss_calls)
417
417
        self.assertLength(1, self.hpss_connections)
418
418
        remote = branch.Branch.open('stacked')
419
419
        self.assertEndsWith(remote.get_stacked_on_url(), '/parent')