Package: devscripts
Version: 2.10.26
Severity: minor
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid

Hi,

When using debdiff to diff the current version with the previous
(debdiff with no arguments in an unpacked source package) it fails
to do the right thing if the distribution name of the current or
previous version contains a hyphen.

The problem is this:

    if(/^(.+)\s\((\d+:)?(.+)\)\s(\w+)\;\surgency=.+$/) {
        unshift @ARGV, "../".$1."_".$3.".dsc";
        $guessed_version++;
    }

the \w+ doesn't match e.g. intrepid-security, so the tool tries to
compare two different versions.

This is probably more frequent on Ubuntu as we use hyphenated
distributions more often, though testing-propsed-updates uploads
will probably trigger it.

Could debdiff use the parser from dpkg-dev to extract the wanted
information, making it more robust?

Thanks,

James





-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to