eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusMonitorThread.py

branch
Variables Viewer
changeset 6972
bb4d5692f966
parent 6942
2602857055c5
child 7192
a22eee00b052
equal deleted inserted replaced
6971:77cf9a30562d 6972:bb4d5692f966
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