Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1226872?usp=email )
Change subject: cleanup: SVN support was already dropped. Remove hints from
documentations.
......................................................................
cleanup: SVN support was already dropped. Remove hints from documentations.
Bug: T362484
Change-Id: I62b439f0d73fb7bd0389f6e4c8ea47037111ad75
---
M pywikibot/README.rst
M pywikibot/version.py
M tests/http_tests.py
3 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/pywikibot/README.rst b/pywikibot/README.rst
index 959af38..0ea442e 100644
--- a/pywikibot/README.rst
+++ b/pywikibot/README.rst
@@ -28,7 +28,7 @@
You do not need to "install" this package to be able to make use of
it. You can actually just run it from the directory where you unpacked
-it or where you have your copy of the SVN or git sources.
+it or where you have your copy of the git sources.
The first time you run a script, the package creates a file named
user-config.py
diff --git a/pywikibot/version.py b/pywikibot/version.py
index 084514b..b3fdf6b 100644
--- a/pywikibot/version.py
+++ b/pywikibot/version.py
@@ -108,7 +108,7 @@
UserWarning, stacklevel=2)
exceptions = None
- # Git and SVN can silently fail, as it may be a nightly.
+ # Git can silently fail, as it may be a nightly.
if exceptions: # pragma: no cover
pywikibot.debug(f'version algorithm exceptions:\n{exceptions!r}')
diff --git a/tests/http_tests.py b/tests/http_tests.py
index 63fe428..6cccab3 100755
--- a/tests/http_tests.py
+++ b/tests/http_tests.py
@@ -198,7 +198,7 @@
self.assertNotIn(' ', http.user_agent(format_string=' {pwb} '))
self.assertIn('Pywikibot/' + pywikibot.__version__,
- http.user_agent(format_string='SVN/1.7.5 {pwb}'))
+ http.user_agent(format_string='Git/2.52.0 {pwb}'))
def test_user_agent_username(self) -> None:
"""Test http.user_agent_username function."""
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1226872?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I62b439f0d73fb7bd0389f6e4c8ea47037111ad75
Gerrit-Change-Number: 1226872
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]