Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py

changeset 424
d0915392cbd7
parent 248
f4561c24989a
child 791
9ec2ac20e54e
equal deleted inserted replaced
422:dd7c1558b1df 424:d0915392cbd7
92 status = "R" 92 status = "R"
93 if status: 93 if status:
94 states[file.path] = status 94 states[file.path] = status
95 try: 95 try:
96 if self.reportedStates[file.path] != status: 96 if self.reportedStates[file.path] != status:
97 self.statusList.append("%s %s" % (status, file.path)) 97 self.statusList.append("{0} {1}".format(status, file.path))
98 except KeyError: 98 except KeyError:
99 self.statusList.append("%s %s" % (status, file.path)) 99 self.statusList.append("{0} {1}".format(status, file.path))
100 for name in list(self.reportedStates.keys()): 100 for name in list(self.reportedStates.keys()):
101 if name not in states: 101 if name not in states:
102 self.statusList.append(" %s" % name) 102 self.statusList.append(" {0}".format(name))
103 self.reportedStates = states 103 self.reportedStates = states
104 res = True 104 res = True
105 statusStr = \ 105 statusStr = \
106 self.trUtf8("Subversion status checked successfully (using pysvn)") 106 self.trUtf8("Subversion status checked successfully (using pysvn)")
107 except pysvn.ClientError as e: 107 except pysvn.ClientError as e:

eric ide

mercurial