Add support for UCM:Tags in bzr

This commit is contained in:
Daniel Martí 2013-10-30 21:54:09 +01:00
parent d8d3f00e6b
commit 4c5cd7a360
3 changed files with 11 additions and 5 deletions

View file

@ -93,8 +93,8 @@ def check_tags(app, sdk_path):
build_dir = os.path.join('build/', app['id'])
repotype = app['Repo Type']
if repotype not in ('git', 'git-svn', 'hg'):
return (None, 'Tags update mode only works for git, hg and git-svn repositories currently')
if repotype not in ('git', 'git-svn', 'hg', 'bzr'):
return (None, 'Tags update mode only works for git, hg, bzr and git-svn repositories currently', None)
# Set up vcs interface and make sure we have the latest code...
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path)