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

Fix NameError.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        repo.lock_read()
141
141
        try:
142
142
            store = BazaarObjectStore(repo)
143
 
            missing_sha1s = store.find_missing_objects(wants, graphwalker, progress)
144
 
            return (len(missing_sha1s), iter(store.iter_shas(missing_sha1s)))
 
143
            have = store.find_missing_revisions(graph_walker)
 
144
            missing_sha1s = store.find_missing_objects(have, wants, progress)
 
145
            return self.object_store.iter_shas(missing_sha1s)
145
146
        finally:
146
147
            repo.unlock()