changeset 3705:bd236590d127

wrapping: fix a silly error were we checking on module and wrapping the other ...
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 23 Apr 2018 11:44:05 +0100
parents f6979d64b9fb
children 47e6776c2ef0 116ef60d4be6
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Sun Apr 22 11:40:17 2018 +0200
+++ b/hgext3rd/evolve/__init__.py	Mon Apr 23 11:44:05 2018 +0100
@@ -721,7 +721,7 @@
     ui.warn("(%s)\n" % solvemsg)
 
 if util.safehasattr(context, '_filterederror'): # <= hg-4.5
-    @eh.wrapfunction(scmutil, '_filterederror')
+    @eh.wrapfunction(context, '_filterederror')
     def evolve_filtererror(original, repo, changeid):
         """build an exception to be raised about a filtered changeid