On Fri, May 26, 2006 at 01:06:05PM +0200, Marc Haber wrote: > Package: devscripts > Version: 2.9.20 > Severity: minor > > Hi, > > if debian/NEWS is badly formatted and dch --news is invoked, the > script complains about a badly formatted changelog instead of a badly > formatted NEWS. > > This might be misleading to people stupid like me.
I'm assuming this the error message you are talking about is something like: parsechangelog/debian: error: badly formatted urgency value, at changelog line 17 This is actually quite difficult to fix, as it is a dpkg issue: in /usr/lib/dpkg/parsechangelog/debian, the command clerror is defined as: sub clerror { &error("$_[0], at changelog line $."); } which makes no mention of the changelog name. If you would like, I could reassign this bug to dpkg-dev. A patch for dpkg-dev could be something like: * pass any -l option onto the parser from dpkg-parsechangelog * in the parser, set $changelogfile to be 'changelog' by default, and change it to the -l option if there is one * in the error messages, replace 'changelog' by '$changelogfile' Julian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]