/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 tests/test_fetch.py

More work on roundtrip push support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    TestCaseWithTransport,
44
44
    )
45
45
 
46
 
from bzrlib.plugins.git import (
47
 
    get_rich_root_format,
48
 
    )
49
46
from bzrlib.plugins.git.fetch import (
50
47
    import_git_blob,
51
48
    import_git_tree,
67
64
 
68
65
    def clone_git_repo(self, from_url, to_url, revision_id=None):
69
66
        oldrepos = self.open_git_repo(from_url)
70
 
        dir = BzrDir.create(to_url, get_rich_root_format())
 
67
        dir = BzrDir.create(to_url)
71
68
        newrepos = dir.create_repository()
72
69
        oldrepos.copy_content_into(newrepos, revision_id=revision_id)
73
70
        return newrepos
262
259
 
263
260
class DummyStoreUpdater(object):
264
261
 
265
 
    def add_object(self, obj, ie):
 
262
    def add_object(self, obj, ie, path):
266
263
        pass
267
264
 
268
265
    def finish(self):