eric6/Plugins/VcsPlugins/vcsSubversion/subversion.py

changeset 7917
e04b7a25e241
parent 7900
72b88fb20261
child 7923
91e843545d9a
diff -r ae3d890b66d6 -r e04b7a25e241 eric6/Plugins/VcsPlugins/vcsSubversion/subversion.py
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/subversion.py	Mon Dec 28 15:52:40 2020 +0100
+++ b/eric6/Plugins/VcsPlugins/vcsSubversion/subversion.py	Mon Dec 28 19:43:35 2020 +0100
@@ -1357,13 +1357,13 @@
                     for line in output.splitlines():
                         match = self.rx_status1.fullmatch(line)
                         if match is not None:
-                            flags = self.rx_status1.group(1)
-                            path = self.rx_status1.group(5).strip()
+                            flags = match.group(1)
+                            path = match.group(5).strip()
                         else:
                             match = self.rx_status2.fullmatch(line)
                             if match is not None:
-                                flags = self.rx_status2.group(1)
-                                path = self.rx_status2.group(2).strip()
+                                flags = match.group(1)
+                                path = match.group(2).strip()
                             else:
                                 continue
                         name = os.path.normcase(path)
@@ -1426,13 +1426,13 @@
                     for line in output.splitlines():
                         match = self.rx_status1.fullmatch(line)
                         if match is not None:
-                            flags = self.rx_status1.group(1)
-                            path = self.rx_status1.group(5).strip()
+                            flags = match.group(1)
+                            path = match.group(5).strip()
                         else:
                             match = self.rx_status2.fullmatch(line)
                             if match is not None:
-                                flags = self.rx_status2.group(1)
-                                path = self.rx_status2.group(2).strip()
+                                flags = match.group(1)
+                                path = match.group(2).strip()
                             else:
                                 continue
                         name = os.path.normcase(path)

eric ide

mercurial