aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/commands/rpmlog.py
diff options
context:
space:
mode:
Diffstat (limited to 'RepSys/commands/rpmlog.py')
-rwxr-xr-x[-rw-r--r--]RepSys/commands/rpmlog.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/RepSys/commands/rpmlog.py b/RepSys/commands/rpmlog.py
index 11fe36d..238b675 100644..100755
--- a/RepSys/commands/rpmlog.py
+++ b/RepSys/commands/rpmlog.py
@@ -3,7 +3,7 @@
# This program will convert the output of "svn log" to be suitable
# for usage in an rpm %changelog session.
#
-from RepSys import Error, layout
+from RepSys import Error, layout, disable_mirror
from RepSys.command import *
from RepSys.svn import SVN
from RepSys.log import get_changelog, split_spec_changelog
@@ -43,6 +43,8 @@ def parse_options():
action="store_true")
parser.add_option("-s", dest="sort", default=False,
action="store_true")
+ parser.add_option("-M", "--no-mirror", action="callback",
+ callback=disable_mirror)
opts, args = parser.parse_args()
if len(args) != 1:
raise Error, "invalid arguments"