mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Basic support for RM in bzr without branches
This commit is contained in:
parent
eefb9eb075
commit
c46abf6b14
1 changed files with 2 additions and 3 deletions
|
|
@ -109,9 +109,6 @@ def check_repomanifest(app, sdk_path, branch=None):
|
||||||
build_dir = os.path.join('build/', app['id'])
|
build_dir = os.path.join('build/', app['id'])
|
||||||
repotype = app['Repo Type']
|
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...
|
# Set up vcs interface and make sure we have the latest code...
|
||||||
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path)
|
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir, sdk_path)
|
||||||
if app['Repo Type'] == 'srclib':
|
if app['Repo Type'] == 'srclib':
|
||||||
|
|
@ -135,6 +132,8 @@ def check_repomanifest(app, sdk_path, branch=None):
|
||||||
vcs.gotorevision(branch)
|
vcs.gotorevision(branch)
|
||||||
else:
|
else:
|
||||||
vcs.gotorevision('default')
|
vcs.gotorevision('default')
|
||||||
|
elif vcs.repotype() == 'bzr':
|
||||||
|
vcs.gotorevision(None)
|
||||||
|
|
||||||
if len(app['builds']) > 0:
|
if len(app['builds']) > 0:
|
||||||
if 'subdir' in app['builds'][-1]:
|
if 'subdir' in app['builds'][-1]:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue