diff --git a/osc/commandline.py b/osc/commandline.py index c183633e..f6b7b247 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -1292,6 +1292,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. r = expected = r[1] print >>sys.stderr, 'Using existing branch project:', r, '\n' + devloc = None if r != expected: devloc = r if 'branches:' in r: @@ -1319,7 +1320,9 @@ Please submit there instead, or use --nodevelproject to force direct submission. print 'A working copy of the branched package can be checked out with:\n\n' \ 'osc %sco %s/%s' \ % (apiopt, r, package) - + print_request_list(conf.config['apiurl'], args[0], args[1]) + if devloc: + print_request_list(conf.config['apiurl'], devloc, args[1]) diff --git a/osc/core.py b/osc/core.py index 766a9054..4d589c86 100755 --- a/osc/core.py +++ b/osc/core.py @@ -4273,6 +4273,6 @@ def print_request_list(apiurl, project, package = None, states = ('new', ), forc if package is None and len(requests): print msg % ('project', project, len(requests)) elif len(requests): - print msg % ('package', package, len(requests)) + print msg % ('package', '/'.join([project, package]), len(requests)) for r in requests: print r.list_view()