Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: 43ffb9f3ac58394a8330a39728b0351f65c8445e
https://github.com/openSUSE/osc/commit/43ffb9f3ac58394a8330a39728b0351f65c84...
Author: Egbert Eich
Date: 2015-11-10 (Tue, 10 Nov 2015)
Changed paths:
M osc/commandline.py
Log Message:
-----------
maintenancerequest: simplify sytnax to create request for single package
The syntax to create a maintnancerequest for a single currently package
is:
osc mr SOURCEPROJECT SOURCEPACKAGES RELEASEPROJECT
which means that the source project, the package name and the release
project have to be specified on the command line.
Often times the workflow is such that the user will already be inside
of the subdirectory containing the checked out package.
To simplify the submission when the user is in a package subdirectory
this patch adds the syntax:
osc mr .
to indicate that the source project and source target is to be taken
from the meta information in this package directory.
Signed-off-by: Egbert Eich