1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Basic support for RM in bzr without branches

This commit is contained in:
Daniel Martí 2013-06-24 20:16:21 +02:00
parent eefb9eb075
commit c46abf6b14

View File

@ -109,9 +109,6 @@ def check_repomanifest(app, sdk_path, branch=None):
build_dir = os.path.join('build/', app['id'])
repotype = app['Repo Type']
if repotype == 'bzr':
return (None, 'RepoManifest update mode has not been ported to bzr repositories yet')
# Set up vcs interface and make sure we have the latest code...
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path)
if app['Repo Type'] == 'srclib':
@ -135,6 +132,8 @@ def check_repomanifest(app, sdk_path, branch=None):
vcs.gotorevision(branch)
else:
vcs.gotorevision('default')
elif vcs.repotype() == 'bzr':
vcs.gotorevision(None)
if len(app['builds']) > 0:
if 'subdir' in app['builds'][-1]: