hgext3rd/evolve/utility.py
branchstable
changeset 4156 f996596d8ccc
parent 4056 235f15c40556
child 4159 328450f2de56
--- a/hgext3rd/evolve/utility.py	Sat Sep 22 13:09:06 2018 +0200
+++ b/hgext3rd/evolve/utility.py	Thu Oct 11 13:38:38 2018 +0200
@@ -49,7 +49,7 @@
     desc = getattr(tr, 'desc', '')
 
     autocase = False
-    if tr is None:
+    if tr is None and not getattr(repo, '_destroying', False):
         autocase = True
     elif desc.startswith('serve'):
         autocase = True
@@ -63,7 +63,6 @@
     else:
         # note: we should not get to the default case
         warm = configbool('experimental', 'obshashrange.warm-cache', True)
-
     if not configbool('experimental', 'obshashrange', True):
         return False
     if not warm: