hgext3rd/evolve/utility.py
branchstable
changeset 3426 be284a34b822
parent 3369 c7fbb79cd366
child 3467 41ce24cf288d
--- a/hgext3rd/evolve/utility.py	Sat Jan 20 11:02:44 2018 +0100
+++ b/hgext3rd/evolve/utility.py	Fri Jan 19 20:41:58 2018 +0100
@@ -42,7 +42,14 @@
     config = repo.ui.config
     desc = getattr(tr, 'desc', '')
 
-    autocase = tr is None or desc.startswith('push') or desc.startswith('serve')
+    autocase = False
+    if tr is None:
+        autocase = True
+    elif desc.startswith('serve'):
+        autocase = True
+    elif desc.startswith('push') and not desc.startswith('push-response'):
+        autocase = True
+
     autocache = config('experimental', 'obshashrange.warm-cache',
                        'auto') == 'auto'
     if autocache: