evolve: warn for troubles created by histedit too. stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Mon, 04 Feb 2013 17:40:28 +0100
branchstable
changeset 678 718262019c6f
parent 677 e6ce1b907e37
child 679 a8be8dfe5d99
evolve: warn for troubles created by histedit too.
hgext/evolve.py
--- a/hgext/evolve.py	Mon Feb 04 17:39:16 2013 +0100
+++ b/hgext/evolve.py	Mon Feb 04 17:40:28 2013 +0100
@@ -652,6 +652,12 @@
             extensions.wrapcommand(rebase.cmdtable, 'rebase', warnobserrors)
     except KeyError:
         pass  # rebase not found
+    try:
+        histedit = extensions.find('histedit')
+        if histedit:
+            extensions.wrapcommand(histedit.cmdtable, 'histedit', warnobserrors)
+    except KeyError:
+        pass  # rebase not found
 
 
 #####################################################################