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

Fix fetching between git repositories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
            BzrDir,
203
203
            )
204
204
        from bzrlib.plugins.git.refs import (
205
 
            BazaarRefsContainer,
 
205
            get_refs,
206
206
            )
207
207
        from bzrlib.plugins.git.object_store import (
208
208
            get_object_store,
212
212
        object_store = get_object_store(repo)
213
213
        object_store.lock_read()
214
214
        try:
215
 
            refs = BazaarRefsContainer(bzrdir, object_store)
216
 
            for k, v in refs.as_dict().iteritems():
 
215
            refs = get_refs(repo)
 
216
            for k, v in refs.iteritems():
217
217
                self.outf.write("%s -> %s\n" % (k, v))
218
218
        finally:
219
219
            object_store.unlock()