[devscripts] 01/01: uscan: remove accidental entries

Osamu Aoki osamu at moszumanska.debian.org
Wed Sep 16 11:21:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit 287ee6febc4012f920a94686486d529c67ab9523
Author: Osamu Aoki <osamu at debian.org>
Date:   Wed Sep 16 06:10:07 2015 +0000

    uscan: remove accidental entries
    
    Code to catch pagemangle and oversionmangle rules
    were introduced into the opts= parsing too early.
    
    These will be added aiming for version=4 watch file.
    
    These did not break code but should not have been there.
    
    Removing from version=3 watch file code.
---
 scripts/uscan.pl | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 658e210..b9407fa 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -828,15 +828,9 @@ sub process_watchline ($$$$$$)
 		    @{$options{'uversionmangle'}} = split /;/, $1;
 		    @{$options{'dversionmangle'}} = split /;/, $1;
 		}
-		elsif ($opt =~ /^\s*pagemangle\s*=\s*(.+?)\s*$/) {
-		    @{$options{'pagemangle'}} = split /;/, $1;
-		}
 		elsif ($opt =~ /^\s*filenamemangle\s*=\s*(.+?)\s*$/) {
 		    @{$options{'filenamemangle'}} = split /;/, $1;
 		}
-		elsif ($opt =~ /^\s*oversionmangle\s*=\s*(.+?)\s*$/) {
-		    @{$options{'oversionmangle'}} = split /;/, $1;
-		}
 		elsif ($opt =~ /^\s*downloadurlmangle\s*=\s*(.+?)\s*$/) {
 		    @{$options{'downloadurlmangle'}} = split /;/, $1;
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list