Mercurial > hg > evolve
changeset 1036:576d3a198269
evolve: drop some pre-3.0 compatibility code
This extension already requires Mercurial 3.0
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 19 May 2014 17:43:31 -0700 |
parents | 0523c7c63759 |
children | 010c7e4aa820 |
files | hgext/evolve.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py +++ b/hgext/evolve.py @@ -2567,10 +2567,7 @@ @eh.extsetup def _installwireprotocol(ui): - try: - localrepo.moderncaps.add('_evoext_pullobsmarkers_0') - except AttributeError: - localrepo.MODERNCAPS.add('_evoext_pullobsmarkers_0') + localrepo.moderncaps.add('_evoext_pullobsmarkers_0') hgweb_mod.perms['evoext_pushobsmarkers_0'] = 'push' hgweb_mod.perms['evoext_pullobsmarkers_0'] = 'pull' hgweb_mod.perms['evoext_obshash'] = 'pull'