hgext3rd/evolve/utility.py
changeset 4159 328450f2de56
parent 4153 e1f6f9da82c1
parent 4156 f996596d8ccc
child 4210 470ba668687a
--- a/hgext3rd/evolve/utility.py	Fri Oct 12 02:12:23 2018 +0300
+++ b/hgext3rd/evolve/utility.py	Fri Oct 12 11:33:30 2018 +0200
@@ -50,7 +50,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
@@ -64,7 +64,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: