mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-09 20:45:47 +01:00
Remove deprecated 'editmeta' command
This commit is contained in:
parent
20998385f3
commit
59e697e61e
@ -2695,26 +2695,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
change_request_state(apiurl, req.reqid, 'superseded',
|
change_request_state(apiurl, req.reqid, 'superseded',
|
||||||
'superseded by %s' % rid, rid)
|
'superseded by %s' % rid, rid)
|
||||||
|
|
||||||
# editmeta and its aliases are all deprecated
|
|
||||||
@cmdln.alias("editprj")
|
|
||||||
@cmdln.alias("createprj")
|
|
||||||
@cmdln.alias("editpac")
|
|
||||||
@cmdln.alias("createpac")
|
|
||||||
@cmdln.alias("edituser")
|
|
||||||
@cmdln.alias("usermeta")
|
|
||||||
@cmdln.hide()
|
|
||||||
def do_editmeta(self, subcmd, opts, *args):
|
|
||||||
"""
|
|
||||||
Obsolete command to edit metadata. Use 'meta' now
|
|
||||||
|
|
||||||
See the help output of 'meta'.
|
|
||||||
"""
|
|
||||||
|
|
||||||
print("This command is obsolete. Use 'osc meta <metatype> ...'.", file=sys.stderr)
|
|
||||||
print("See 'osc help meta'.", file=sys.stderr)
|
|
||||||
return 2
|
|
||||||
|
|
||||||
|
|
||||||
@cmdln.option('-r', '--revision', metavar='rev',
|
@cmdln.option('-r', '--revision', metavar='rev',
|
||||||
help='use the specified revision.')
|
help='use the specified revision.')
|
||||||
@cmdln.option('-R', '--use-plain-revision', action='store_true',
|
@cmdln.option('-R', '--use-plain-revision', action='store_true',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user