tests/hghave.py
changeset 28880 f74eed3115fd
parent 28796 08a686a4a0a2
child 28972 aa927b0a5b87
--- a/tests/hghave.py	Wed Apr 06 19:09:12 2016 +0000
+++ b/tests/hghave.py	Sun Mar 20 14:55:56 2016 -0700
@@ -124,6 +124,10 @@
     except ImportError:
         return False
 
+@check("chg", "running with chg")
+def has_chg():
+    return 'CHGHG' in os.environ
+
 @check("cvs", "cvs client/server")
 def has_cvs():
     re = r'Concurrent Versions System.*?server'