--- a/hgext/evolve.py Mon Dec 02 23:31:45 2013 +0530
+++ b/hgext/evolve.py Thu Dec 26 14:42:22 2013 -0800
@@ -604,13 +604,11 @@
if not repo.local():
return
- opush = repo.push
-
class evolvingrepo(repo.__class__):
def push(self, remote, *args, **opts):
"""wrapper around pull that pull obsolete relation"""
try:
- result = opush(remote, *args, **opts)
+ result = super(evolvingrepo, self).push(remote, *args, **opts)
except util.Abort, ex:
hint = _("use 'hg evolve' to get a stable history "
"or --force to ignore warnings")