/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

update copyright years

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