scm: handle "bitbucketweb" browser for mercurial
The Git SCM uses "bitbucketweb". The Hg SCM also has "bitbucketweb" documented, but uses an un-documented value instead: "bitbucket". Make the Hg SCM support "bitbucketweb" so it aligns with the Git SCM and the Hg documentation. Continue to handle the old "bitbucket" browser, but add a comment that this is deprecated. Change-Id: If4266e35964b2d7c751cce009d195d4c1bcf845a
This commit is contained in:
parent
8e9fed7c00
commit
3046db9615
@ -1092,7 +1092,8 @@ def hg(self, xml_parent, data):
|
|||||||
browser = data.get('browser', 'auto')
|
browser = data.get('browser', 'auto')
|
||||||
browserdict = {
|
browserdict = {
|
||||||
'auto': '',
|
'auto': '',
|
||||||
'bitbucket': 'BitBucket',
|
'bitbucket': 'BitBucket', # deprecated
|
||||||
|
'bitbucketweb': 'BitBucket',
|
||||||
'fisheye': 'FishEye',
|
'fisheye': 'FishEye',
|
||||||
'googlecode': 'GoogleCode',
|
'googlecode': 'GoogleCode',
|
||||||
'hgweb': 'HgWeb',
|
'hgweb': 'HgWeb',
|
||||||
|
Loading…
Reference in New Issue
Block a user