eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py

changeset 6970
cf9c2dc3f3cc
parent 6942
2602857055c5
child 7192
a22eee00b052
equal deleted inserted replaced
6968:c634f51e40ec 6970:cf9c2dc3f3cc
186 186
187 if error: 187 if error:
188 # ignore errors 188 # ignore errors
189 return "" 189 return ""
190 190
191 globalRev, localRev, branch = output.splitlines()[0].split() 191 globalRev, localRev, branch = output.splitlines()[0].split(None, 2)
192 if globalRev.endswith("+"): 192 if globalRev.endswith("+"):
193 globalRev = globalRev[:-1] 193 globalRev = globalRev[:-1]
194 if localRev.endswith("+"): 194 if localRev.endswith("+"):
195 localRev = localRev[:-1] 195 localRev = localRev[:-1]
196 196

eric ide

mercurial