From be5fae9aaf9ade867a9128fb40bf9809448215a3 Mon Sep 17 00:00:00 2001 From: nunobrum Date: Tue, 28 Feb 2023 16:11:37 +0100 Subject: [PATCH 1/3] Giving the status of modified files --- svn/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svn/local.py b/svn/local.py index 686063b..d9c50bd 100644 --- a/svn/local.py +++ b/svn/local.py @@ -76,7 +76,7 @@ def status(self, rel_path=None): root = xml.etree.ElementTree.fromstring(raw) - list_ = root.findall('target/entry') + list_ = root.findall('target/entry') + root.findall('changelist/entry') for entry in list_: entry_attr = entry.attrib name = entry_attr['path'] From a0f72728447156faded1ce9336cbdff7177b212a Mon Sep 17 00:00:00 2001 From: Nuno Brum Date: Tue, 28 Feb 2023 16:14:34 +0100 Subject: [PATCH 2/3] Retrieving the status of modifid --- svn/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svn/local.py b/svn/local.py index 686063b..d9c50bd 100644 --- a/svn/local.py +++ b/svn/local.py @@ -76,7 +76,7 @@ def status(self, rel_path=None): root = xml.etree.ElementTree.fromstring(raw) - list_ = root.findall('target/entry') + list_ = root.findall('target/entry') + root.findall('changelist/entry') for entry in list_: entry_attr = entry.attrib name = entry_attr['path'] From 2882cf71fe7abbc1ff65fcf5bfcb5dd59284b943 Mon Sep 17 00:00:00 2001 From: nunobrum Date: Tue, 28 Feb 2023 17:20:59 +0100 Subject: [PATCH 3/3] Including the -v option in the status command so that the 'modified' files can appear --- svn/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svn/local.py b/svn/local.py index d9c50bd..8b9d4d2 100644 --- a/svn/local.py +++ b/svn/local.py @@ -71,7 +71,7 @@ def status(self, rel_path=None): raw = self.run_command( 'status', - ['--xml', path], + ['--xml', path, '-v'], do_combine=True) root = xml.etree.ElementTree.fromstring(raw)