diff options
-rw-r--r-- | RepSys/log.py | 2 | ||||
-rw-r--r-- | repsys.conf | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/RepSys/log.py b/RepSys/log.py index a7210a6..d1b0968 100644 --- a/RepSys/log.py +++ b/RepSys/log.py @@ -241,7 +241,7 @@ def parse_repsys_entry(revlog): def get_revision_offset(): try: - revoffset = config.getint("global", "revision-offset", 0) + revoffset = config.getint("log", "revision-offset", 0) except (ValueError, TypeError): raise Error, ("Invalid revision-offset number in configuration " "file(s).") diff --git a/repsys.conf b/repsys.conf index 9a07f0a..244189c 100644 --- a/repsys.conf +++ b/repsys.conf @@ -5,6 +5,10 @@ url-map = svn\+ssh://svn\.mandriva\.com/(.*) file:///\1 [log] oldurl = svn+ssh://svn.mandriva.com/svn/mdv/misc +# controls up to which revision the rpm changelog +# will be constructed (default zero, i.e., oldest +# commit) +revision-offset = 0 [template] path = /usr/share/repsys/default.chlog |