The following commit has been merged in the master branch:
commit 881033a9c3da1cce306ddd5d7ad93eb16183c75a
Author: Jakub Wilk <[email protected]>
Date:   Sun Aug 28 17:51:02 2011 +0200

    Allow "pathrev" as synonym for "revision" in DEP-5 URIs
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/checks/source-copyright b/checks/source-copyright
index f7fec61..c28a01c 100644
--- a/checks/source-copyright
+++ b/checks/source-copyright
@@ -107,7 +107,7 @@ if (m{
        }
        elsif ($uri =~ 
s,^http://anonscm\.debian\.org/viewvc/dep/web/deps/dep5\.mdwn\b,,) {
            $version = '0+svn';
-           $uri =~ m,^\?(?:\S+&)?revision=(\d+)(?:&\S+)?$, and $version = 
"$version~$1";
+           $uri =~ m,^\?(?:\S+&)?(?:pathrev|revision)=(\d+)(?:&\S+)?$, and 
$version = "$version~$1";
        }
        elsif ($uri =~ 
m,^http://www\.debian\.org/doc/(?:packaging-manuals/)?copyright-format/(\d+\.\d+)$,)
 {
            $version = $1;

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to