compat: drop support for ancestral pushop object
Pushoperation object have a 'cgresult' attribute in all the versions we support.
--- a/hgext3rd/evolve/__init__.py Tue Feb 28 14:27:54 2017 +0100
+++ b/hgext3rd/evolve/__init__.py Tue Feb 28 14:28:23 2017 +0100
@@ -3564,11 +3564,7 @@
if 'obsmarkers' in stepsdone:
return
stepsdone.add('obsmarkers')
- if util.safehasattr(pushop, 'cgresult'):
- cgresult = pushop.cgresult
- else:
- cgresult = pushop.ret
- if cgresult == 0:
+ if pushop.cgresult == 0:
return
pushop.ui.debug('try to push obsolete markers to remote\n')
repo = pushop.repo