diff --git a/hggit/__init__.py b/hggit/__init__.py index 7fd9ee0f7b669155e48134c639c8593f0aa0f7fc_aGdnaXQvX19pbml0X18ucHk=..633796ad1684c4b980803eda688dd97a0152acaa_aGdnaXQvX19pbml0X18ucHk= 100644 --- a/hggit/__init__.py +++ b/hggit/__init__.py @@ -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):