Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3037
a417a0670a36
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
82 status = "" 82 status = ""
83 if not uptodate: 83 if not uptodate:
84 status = "U" 84 status = "U"
85 self.shouldUpdate = True 85 self.shouldUpdate = True
86 elif file.text_status == pysvn.wc_status_kind.conflicted or \ 86 elif file.text_status == pysvn.wc_status_kind.conflicted or \
87 file.prop_status == pysvn.wc_status_kind.conflicted: 87 file.prop_status == pysvn.wc_status_kind.conflicted:
88 status = "Z" 88 status = "Z"
89 elif file.text_status == pysvn.wc_status_kind.deleted or \ 89 elif file.text_status == pysvn.wc_status_kind.deleted or \
90 file.prop_status == pysvn.wc_status_kind.deleted: 90 file.prop_status == pysvn.wc_status_kind.deleted:
91 status = "O" 91 status = "O"
92 elif file.text_status == pysvn.wc_status_kind.modified or \ 92 elif file.text_status == pysvn.wc_status_kind.modified or \
93 file.prop_status == pysvn.wc_status_kind.modified: 93 file.prop_status == pysvn.wc_status_kind.modified:
94 status = "M" 94 status = "M"
95 elif file.text_status == pysvn.wc_status_kind.added or \ 95 elif file.text_status == pysvn.wc_status_kind.added or \
96 file.prop_status == pysvn.wc_status_kind.added: 96 file.prop_status == pysvn.wc_status_kind.added:
97 status = "A" 97 status = "A"
98 elif file.text_status == pysvn.wc_status_kind.replaced or \ 98 elif file.text_status == pysvn.wc_status_kind.replaced or \
99 file.prop_status == pysvn.wc_status_kind.replaced: 99 file.prop_status == pysvn.wc_status_kind.replaced:
100 status = "R" 100 status = "R"
101 if status: 101 if status:
102 states[file.path] = status 102 states[file.path] = status
103 try: 103 try:
104 if self.reportedStates[file.path] != status: 104 if self.reportedStates[file.path] != status:

eric ide

mercurial