Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py

changeset 3037
a417a0670a36
parent 3009
bf5ae5d7477d
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3036:30c81c9e88b8 3037:a417a0670a36
80 status = "" 80 status = ""
81 if not uptodate: 81 if not uptodate:
82 status = "U" 82 status = "U"
83 self.shouldUpdate = True 83 self.shouldUpdate = True
84 elif file.text_status == pysvn.wc_status_kind.conflicted or \ 84 elif file.text_status == pysvn.wc_status_kind.conflicted or \
85 file.prop_status == pysvn.wc_status_kind.conflicted: 85 file.prop_status == pysvn.wc_status_kind.conflicted:
86 status = "Z" 86 status = "Z"
87 elif file.text_status == pysvn.wc_status_kind.deleted or \ 87 elif file.text_status == pysvn.wc_status_kind.deleted or \
88 file.prop_status == pysvn.wc_status_kind.deleted: 88 file.prop_status == pysvn.wc_status_kind.deleted:
89 status = "O" 89 status = "O"
90 elif file.text_status == pysvn.wc_status_kind.modified or \ 90 elif file.text_status == pysvn.wc_status_kind.modified or \
91 file.prop_status == pysvn.wc_status_kind.modified: 91 file.prop_status == pysvn.wc_status_kind.modified:
92 status = "M" 92 status = "M"
93 elif file.text_status == pysvn.wc_status_kind.added or \ 93 elif file.text_status == pysvn.wc_status_kind.added or \
94 file.prop_status == pysvn.wc_status_kind.added: 94 file.prop_status == pysvn.wc_status_kind.added:
95 status = "A" 95 status = "A"
96 elif file.text_status == pysvn.wc_status_kind.replaced or \ 96 elif file.text_status == pysvn.wc_status_kind.replaced or \
97 file.prop_status == pysvn.wc_status_kind.replaced: 97 file.prop_status == pysvn.wc_status_kind.replaced:
98 status = "R" 98 status = "R"
99 if status: 99 if status:
100 states[file.path] = status 100 states[file.path] = status
101 try: 101 try:
102 if self.reportedStates[file.path] != status: 102 if self.reportedStates[file.path] != status:

eric ide

mercurial