# HG changeset patch # User Søren Løvborg # Date 2016-11-10 15:09:47 # Node ID c987aa2eb2a808810edf6939c52ca64b25e4b421 # Parent 98dd279582803299356502051fe00e161776bf9e compare: remove old Dulwich hack We no longer support Dulwich 0.9.9, so don't need the workaround. diff --git a/kallithea/controllers/compare.py b/kallithea/controllers/compare.py --- a/kallithea/controllers/compare.py +++ b/kallithea/controllers/compare.py @@ -146,9 +146,8 @@ class CompareController(BaseRepoControll # no changesets from other repo, ancestor is the other_rev ancestors = [other_rev] - # dulwich 0.9.9 doesn't have a Repo.close() so we have to mess with internals: - gitrepo.object_store.close() - gitrepo_remote.object_store.close() + gitrepo.close() + gitrepo_remote.close() else: so, se = org_repo.run_git_command(