print "pack applied"
- def generate_pack(self, want, have, write, progress):
- progress("dul-daemon says what\n")
- sha_queue = generate_pack_contents(want, have, self.repo.get_object)
- write_pack_data(ProtocolFile(None, write), (self.repo.get_object(sha) for sha in sha_queue), len(sha_queue))
- progress("how was that, then?\n")
++ def fetch_objects(self, determine_wants, graph_waker, progress):
++ for sha in generate_pack_contents(determine_wants(), have, self.repo.get_object):
++ yield self.repo.get_object(sha)
+
class Handler(object):