eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py

branch
Variables Viewer
changeset 6972
bb4d5692f966
parent 6942
2602857055c5
child 7192
a22eee00b052
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py	Mon Apr 22 10:46:09 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