hgext3rd/topic/destination.py
changeset 1969 a604423c1500
parent 1967 c5d4e856ad0e
child 1980 3c4a20244771
--- a/hgext3rd/topic/destination.py	Fri Jul 08 16:09:55 2016 +0000
+++ b/hgext3rd/topic/destination.py	Fri Jul 08 16:59:43 2016 +0000
@@ -94,7 +94,10 @@
     """run a uisetup time to install all destinations wrapping"""
     if util.safehasattr(destutil, '_destmergebranch'):
         extensions.wrapfunction(destutil, '_destmergebranch', _destmergebranch)
-    rebase = extensions.find('rebase')
+    try:
+        rebase = extensions.find('rebase')
+    except KeyError:
+        rebase = None
     if (util.safehasattr(rebase, '_destrebase')
             # logic not shared with merge yet < hg-3.8
             and not util.safehasattr(rebase, '_definesets')):