From c46abf6b142bdf0df6f59984e00045cae6cb50ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 24 Jun 2013 20:16:21 +0200 Subject: [PATCH] Basic support for RM in bzr without branches --- fdroidserver/checkupdates.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index d89004c6..bf461993 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -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]: