Mercurial > kallithea
changeset 6380:c987aa2eb2a8
compare: remove old Dulwich hack
We no longer support Dulwich 0.9.9, so don't need the workaround.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Thu, 10 Nov 2016 15:09:47 +0100 |
parents | 98dd27958280 |
children | ee6b7e9f34e6 |
files | kallithea/controllers/compare.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/controllers/compare.py Mon Jan 02 20:01:53 2017 +0100 +++ b/kallithea/controllers/compare.py Thu Nov 10 15:09:47 2016 +0100 @@ -146,9 +146,8 @@ # 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(