diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2015-11-28 14:14:24 +0100 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2015-11-28 14:14:37 +0100 |
commit | 4521eb9e1425919f6e6a87011098c2a3490295c4 (patch) | |
tree | b7018b596d494d57637ba47054f56bb01ab1d908 /MgaRepo/commands | |
parent | 300b17538e211372f7e7a90f36ba062f92b6ac68 (diff) | |
download | mgarepo-4521eb9e1425919f6e6a87011098c2a3490295c4.tar mgarepo-4521eb9e1425919f6e6a87011098c2a3490295c4.tar.gz mgarepo-4521eb9e1425919f6e6a87011098c2a3490295c4.tar.bz2 mgarepo-4521eb9e1425919f6e6a87011098c2a3490295c4.tar.xz mgarepo-4521eb9e1425919f6e6a87011098c2a3490295c4.zip |
Add support for backports checkout MGA#15251
Diffstat (limited to 'MgaRepo/commands')
-rw-r--r-- | MgaRepo/commands/co.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MgaRepo/commands/co.py b/MgaRepo/commands/co.py index 24ce257..a6911cc 100644 --- a/MgaRepo/commands/co.py +++ b/MgaRepo/commands/co.py @@ -21,6 +21,7 @@ Options: -r REV Revision to checkout -s Only checkout the SPECS/ directory -M Do not use the mirror (use the main repository) + -k the package backport branch -h Show this message Examples: @@ -36,6 +37,7 @@ def parse_options(): parser.add_option("-r", dest="revision") parser.add_option("--distribution", "-d", dest="distro", default=None) parser.add_option("--branch", "-b", dest="branch", default=None) + parser.add_option("--backports", "-k", dest="backports", default=None) parser.add_option("-s", "--spec", dest="spec", default=False, action="store_true") parser.add_option("-M", "--no-mirror", action="callback", |