1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

- fixed #472831 ("missing apisrv in branch command")

This commit is contained in:
Marcus Hüwe 2009-03-23 19:08:06 +00:00
parent 7cd12cb501
commit 5e16d98edd

View File

@ -876,10 +876,12 @@ Please submit there instead, or use --nodevelproject to force direct submission.
' That\'s also where you would normally make changes against.\n' \
' A direct branch of the specified package can be forced\n' \
' with the --nodevelproject option.\n' % devloc
apiopt = ''
if conf.get_configParser().get('general', 'apiurl') != conf.config['apiurl']:
apiopt = '-A %s ' % conf.config['apiurl']
print 'A working copy of the branched package can be checked out with:\n\n' \
'osc co %s/%s' \
% (r, args[1])
'osc %sco %s/%s' \
% (apiopt, r, args[1])
def do_deletepac(self, subcmd, opts, *args):