diff -r 0a17cfbe5429 -r 2ab59ac06b76 hgext/chgserver.py --- 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']