Mercurial > hg-git
changeset 1137:633796ad1684
compat: drop hg < 1.4 compat code (!!)
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Wed, 07 Feb 2018 22:08:14 -0600 |
parents | 7fd9ee0f7b66 |
children | c693541ee210 |
files | hggit/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/__init__.py Fri Feb 02 13:43:26 2018 -0600 +++ b/hggit/__init__.py Wed Feb 07 22:08:14 2018 -0600 @@ -215,11 +215,7 @@ if hgutil.safehasattr(lrepo, 'changelog') and co not in lrepo.changelog: co = None return revs, co - - -# COMPAT: hg 1.4 - this is no longer needed -if getattr(hg, 'addbranchrevs', False): - extensions.wrapfunction(hg, 'addbranchrevs', safebranchrevs) +extensions.wrapfunction(hg, 'addbranchrevs', safebranchrevs) def extsetup(ui):