eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py

branch
eric7
changeset 8620
84f7f7867b5f
parent 8618
356a2f1b04b0
child 8881
54e42bc2437a
--- a/eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py	Mon Sep 20 07:29:27 2021 +0200
+++ b/eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py	Mon Sep 20 19:47:18 2021 +0200
@@ -46,6 +46,8 @@
             <li>"R" path was deleted and then re-added</li>
             <li>"U" path needs an update</li>
             <li>"Z" path contains a conflict</li>
+            <li>"?" path is not tracked</li>
+            <li>"!" path is missing</li>
             <li>" " path is back at normal</li>
         </ul>
         
@@ -110,6 +112,16 @@
                     file.prop_status == pysvn.wc_status_kind.replaced
                 ):
                     status = "R"
+                elif (
+                    file.text_status == pysvn.wc_status_kind.unversioned or
+                    file.prop_status == pysvn.wc_status_kind.unversioned
+                ):
+                    status = "?"
+                elif (
+                    file.text_status == pysvn.wc_status_kind.missing or
+                    file.prop_status == pysvn.wc_status_kind.missing
+                ):
+                    status = "!"
                 if status:
                     states[file.path] = status
                     try:

eric ide

mercurial