eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py

changeset 6970
cf9c2dc3f3cc
parent 6942
2602857055c5
child 7192
a22eee00b052
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py	Sun Apr 21 17:27:52 2019 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py	Mon Apr 22 10:38:32 2019 +0200
@@ -188,7 +188,7 @@
             # ignore errors
             return ""
         
-        globalRev, localRev, branch = output.splitlines()[0].split()
+        globalRev, localRev, branch = output.splitlines()[0].split(None, 2)
         if globalRev.endswith("+"):
             globalRev = globalRev[:-1]
         if localRev.endswith("+"):

eric ide

mercurial