jenkins-bot has submitted this change and it was merged.

Change subject: repository: bzr must use branches
......................................................................


repository: bzr must use branches

Because it is more robust than version-info

Change-Id: Icc5dfc5aa89421b52c5c99600e75ba687570c43e
Signed-off-by: Loic Dachary <l...@dachary.org>
---
M FLOSSbot/repository.py
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Dachary: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/FLOSSbot/repository.py b/FLOSSbot/repository.py
index 634304d..3a3948e 100644
--- a/FLOSSbot/repository.py
+++ b/FLOSSbot/repository.py
@@ -379,9 +379,14 @@
         """.format(url=url))
 
     def verify_bzr(self, url):
+        #
+        # prefer branches over version-info because
+        # it fails on https://golem.ph.utexas.edu/~distler/code/instiki/svn/
+        # with bzr: ERROR: https://golem.ph... is not a local path.
+        #
         return util.sh_bool("""
         set -e
-        timeout 30 bzr version-info {url}
+        timeout 30 bzr branches {url}
         """.format(url=url))
 
     def verify_ftp(self, url):

-- 
To view, visit https://gerrit.wikimedia.org/r/311842
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icc5dfc5aa89421b52c5c99600e75ba687570c43e
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/bots/FLOSSbot
Gerrit-Branch: master
Gerrit-Owner: Dachary <l...@dachary.org>
Gerrit-Reviewer: Dachary <l...@dachary.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to