hgext/chgserver.py
changeset 28261 2ab59ac06b76
parent 28223 0a853dc9b306
child 28262 53dc4aada2d9
--- a/hgext/chgserver.py	Fri Feb 26 14:17:59 2016 +0000
+++ b/hgext/chgserver.py	Fri Feb 26 14:13:12 2016 +0000
@@ -472,3 +472,8 @@
 
 def uisetup(ui):
     commandserver._servicemap['chgunix'] = chgunixservice
+
+    # CHGINTERNALMARK is temporarily set by chg client to detect if chg will
+    # start another chg. drop it to avoid possible side effects.
+    if 'CHGINTERNALMARK' in os.environ:
+        del os.environ['CHGINTERNALMARK']