> This patch isn't quite correct. The old code in dulwich was
>
> def get_graph_walker(self, heads):
> return ObjectStoreGraphWalker(heads, lambda sha: self[sha].parents)
>
> But this patch does
>
> - graph_walker = store.get_graph_walker(list)
> + graph_walker = ObjectStoreGraphWalker(heads, list)
>
> The correct replacement is
>
> graph_walker = ObjectStoreGraphWalker(
> [store._lookup_revision_sha1(head) for head in heads],
> lambda sha: store[sha].parents)
Done, thanks for your feedback!
> This patch isn't quite correct. The old code in dulwich was walker( self, heads): hWalker( heads, lambda sha: self[sha].parents) graph_walker( list) hWalker( heads, list) hWalker( _lookup_ revision_ sha1(head) for head in heads],
>
> def get_graph_
> return ObjectStoreGrap
>
> But this patch does
>
> - graph_walker = store.get_
> + graph_walker = ObjectStoreGrap
>
> The correct replacement is
>
> graph_walker = ObjectStoreGrap
> [store.
> lambda sha: store[sha].parents)
Done, thanks for your feedback!