Bug 1148930 - Support bitbucket repos,r=pmoore
--- a/mozharness/mozilla/building/buildb2gbase.py
+++ b/mozharness/mozilla/building/buildb2gbase.py
@@ -288,17 +288,17 @@ class B2GBuildBaseScript(BuildbotMixin,
url = "{baseurl}/rev/{rev}".format(
baseurl=repo,
rev=rev)
return url
def query_gitweb_url(self, repo, rev, filename=None):
# Git does not support raw files download, so each git
# provider has its own way to make that possible
- if 'github.com' in repo:
+ if 'github.com' in repo or 'bitbucket.org' in repo:
if filename:
url = '{repo}/raw/{rev}/{filename}'.format(
repo=repo,
rev=rev,
filename=filename)
else:
url = '{repo}/raw/{rev}'.format(
repo=repo,