Merge lp:~ace17/bzr-git/dulwich into lp:bzr-git
Proposed by
Sebastien Alaiwan
Status: | Merged |
---|---|
Approved by: | Richard Wilbur |
Approved revision: | 1632 |
Merge reported by: | Richard Wilbur |
Merged at revision: | not available |
Proposed branch: | lp:~ace17/bzr-git/dulwich |
Merge into: | lp:bzr-git |
Diff against target: |
35 lines (+5/-3) 2 files modified
fetch.py (+4/-2) tests/test_transportgit.py (+1/-1) |
To merge this branch: | bzr merge lp:~ace17/bzr-git/dulwich |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Richard Wilbur | already merged | Approve | |
Review via email: mp+218313@code.launchpad.net |
Description of the change
Allow to do a checkout when dulwich version is 0.9.5 (Debian testing).
To post a comment you must log in.
This patch isn't quite correct. The old code in dulwich was
def get_graph_ walker( self, heads): hWalker( heads, lambda sha: self[sha].parents)
return ObjectStoreGrap
But this patch does
- graph_walker = store.get_ graph_walker( list) hWalker( heads, list)
+ graph_walker = ObjectStoreGrap
The correct replacement is
graph_walker = ObjectStoreGrap hWalker(
[store. _lookup_ revision_ sha1(head) for head in heads],
lambda sha: store[sha].parents)