XZise added a comment.
Now I don't know when `svn info` was introduced but it could be used instead and maybe fix T95077: pywikibot fails with SVN file formats before 12 https://phabricator.wikimedia.org/T95077 too:
core$ svn info --xml <?xml version="1.0" encoding="UTF-8"?> <info> <entry path="." revision="6313" kind="dir"> <url>https://github.com/wikimedia/pywikibot-core/trunk</url> <relative-url>^/trunk</relative-url> <repository> <root>https://github.com/wikimedia/pywikibot-core</root> <uuid>0f328886-bf45-b297-fba8-ce57b7db7bff</uuid> </repository> <wc-info> <wcroot-abspath>/home/xzise/Programms/pywikibot/core-svn/core</wcroot-abspath> <schedule>normal</schedule> <depth>infinity</depth> </wc-info> <commit revision="6313"> <author>jenkins.bot</author> <date>2015-04-02T15:00:24.000000Z</date> </commit> </entry> </info>
This returns very cleanly the date and revision. Only the tag is not directly apparent from that and I'm not exactly sure what that tag actually is.
TASK DETAIL https://phabricator.wikimedia.org/T95075
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: XZise, jayvdb, Aklapper, Anshoe, pywikipedia-bugs