changeset 678:718262019c6f stable

evolve: warn for troubles created by histedit too.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Mon, 04 Feb 2013 17:40:28 +0100
parents e6ce1b907e37
children a8be8dfe5d99
files hgext/evolve.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 
 
 #####################################################################