aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands/co.py
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-28 18:27:48 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-28 18:27:48 +0000
commit59341cd17766e9aae61256160009184dc469eec3 (patch)
treee996eee5ee1e8cc7805299cb1bb82bc8d3a3befa /MgaRepo/commands/co.py
parent98ac9bd43092fbffdbf6e031c18d7a87e0f6131e (diff)
downloadmgarepo-59341cd17766e9aae61256160009184dc469eec3.tar
mgarepo-59341cd17766e9aae61256160009184dc469eec3.tar.gz
mgarepo-59341cd17766e9aae61256160009184dc469eec3.tar.bz2
mgarepo-59341cd17766e9aae61256160009184dc469eec3.tar.xz
mgarepo-59341cd17766e9aae61256160009184dc469eec3.zip
add binrepo revision options
Diffstat (limited to 'MgaRepo/commands/co.py')
-rw-r--r--MgaRepo/commands/co.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/MgaRepo/commands/co.py b/MgaRepo/commands/co.py
index e7c9aec..8044c86 100644
--- a/MgaRepo/commands/co.py
+++ b/MgaRepo/commands/co.py
@@ -19,6 +19,7 @@ Options:
-d The distribution branch to checkout from
-b The package branch
-r REV Revision to checkout
+ -R REV binrepo revision to checkout
-S Do not download sources from the binaries repository
-L Do not make symlinks of the binaries downloaded in SOURCES/
-s Only checkout the SPECS/ directory
@@ -37,6 +38,7 @@ Examples:
def parse_options():
parser = OptionParser(help=HELP)
parser.add_option("-r", dest="revision")
+ parser.add_option("-R", dest="binrev")
parser.add_option("-S", dest="use_binrepo", default=True,
action="store_false")
parser.add_option("--check", dest="binrepo_check", default=False,