Plugins/VcsPlugins/vcsSubversion/SvnStatusMonitorThread.py

changeset 42
23b45a742e17
parent 20
74944df40dfb
child 110
c9a969db1469
equal deleted inserted replaced
41:572a009369f0 42:23b45a742e17
73 output = \ 73 output = \
74 str(process.readAllStandardOutput(), self.__ioEncoding, 'replace') 74 str(process.readAllStandardOutput(), self.__ioEncoding, 'replace')
75 states = {} 75 states = {}
76 for line in output.splitlines(): 76 for line in output.splitlines():
77 if self.rx_status1.exactMatch(line): 77 if self.rx_status1.exactMatch(line):
78 flags = str(self.rx_status1.cap(1)) 78 flags = self.rx_status1.cap(1)
79 path = self.rx_status1.cap(3).strip() 79 path = self.rx_status1.cap(3).strip()
80 elif self.rx_status2.exactMatch(line): 80 elif self.rx_status2.exactMatch(line):
81 flags = str(self.rx_status2.cap(1)) 81 flags = self.rx_status2.cap(1)
82 path = self.rx_status2.cap(5).strip() 82 path = self.rx_status2.cap(5).strip()
83 else: 83 else:
84 continue 84 continue
85 if flags[0] in "ACMR" or \ 85 if flags[0] in "ACMR" or \
86 (flags[0] == " " and flags[7] == "*"): 86 (flags[0] == " " and flags[7] == "*"):

eric ide

mercurial