install.py

changeset 4239
4883661fc427
parent 4238
53bd830433dc
child 4307
6a8ec996a49c
diff -r 53bd830433dc -r 4883661fc427 install.py
--- a/install.py	Sun Apr 26 14:26:44 2015 +0200
+++ b/install.py	Sun Apr 26 16:22:42 2015 +0200
@@ -1325,13 +1325,13 @@
     
     os.rename(fileName, fileName + ".orig")
     try:
-        hgOut = subprocess.check_output(["hg", "identify"])
+        hgOut = subprocess.check_output(["hg", "identify", "-i"])
         if sys.version_info[0] == 3:
             hgOut = hgOut.decode()
     except (FileNotFoundError, subprocess.CalledProcessError):
         hgOut = ""
     if hgOut:
-        hgOut = hgOut.strip().split()[0]
+        hgOut = hgOut.strip()
         if hgOut.endswith("+"):
             hgOut = hgOut[:-1]
         if sys.version_info[0] == 2:

eric ide

mercurial