aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/commands/changed.py
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2008-11-11 17:21:41 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2008-11-11 17:21:41 +0000
commit3a7d4937f2fbd7b80f0762258380c82e1cbffe13 (patch)
tree2c1c1d6e66e065d30c60079c311437f28ccb5157 /RepSys/commands/changed.py
parent86b2db69c2c1935ec282ef449a42349e5634a228 (diff)
parentbc9f60a727164caf513746b5fc04f999c968f799 (diff)
downloadmgarepo-3a7d4937f2fbd7b80f0762258380c82e1cbffe13.tar
mgarepo-3a7d4937f2fbd7b80f0762258380c82e1cbffe13.tar.gz
mgarepo-3a7d4937f2fbd7b80f0762258380c82e1cbffe13.tar.bz2
mgarepo-3a7d4937f2fbd7b80f0762258380c82e1cbffe13.tar.xz
mgarepo-3a7d4937f2fbd7b80f0762258380c82e1cbffe13.zip
make the V1_6_X branch the trunk
Diffstat (limited to 'RepSys/commands/changed.py')
-rw-r--r--RepSys/commands/changed.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/RepSys/commands/changed.py b/RepSys/commands/changed.py
index d3094a8..7d05604 100644
--- a/RepSys/commands/changed.py
+++ b/RepSys/commands/changed.py
@@ -1,6 +1,7 @@
#!/usr/bin/python
from RepSys import Error
from RepSys.command import *
+from RepSys.layout import package_url
from RepSys.rpmutil import check_changed
import getopt
import sys
@@ -8,9 +9,12 @@ import sys
HELP = """\
Usage: repsys changed [OPTIONS] URL
+Shows if there are pending changes since the last package release.
+
Options:
-a Check all packages in given URL
-s Show differences
+ -M Do not use the mirror (use the main repository)
-h Show this message
Examples:
@@ -25,7 +29,7 @@ def parse_options():
opts, args = parser.parse_args()
if len(args) != 1:
raise Error, "invalid arguments"
- opts.pkgdirurl = default_parent(args[0])
+ opts.pkgdirurl = package_url(args[0])
opts.verbose = 1 # Unconfigurable
return opts