On Thu, 2011-09-01 at 22:58 +0200, Sylvestre Ledru wrote:
> With this changelog:
[...]
> and this control file:
[...]
> dch will fail with the weird error message 
> $ dch 
> Parse error: indented entry without previous line at line 11 of data ("
> ").
> 
> It should at least specify that the problem is coming from
> debian/control and not debian/changelog.

The message isn't being produced by dch directly, it's coming from:

    my $parser = new Parse::DebControl;
    my $deb822 = $parser->parse_file('debian/control', {stripComments => 
'true'});

It's also generated using "warn" rather than an exception, so I'm not
sure how easy trapping it inside dch would be.

> Moreover, this debian/control could be considered as valid... 

If you believe the parsing is incorrect, then please clone or reassign
this bug to libparse-debcontrol-perl; dch isn't doing the parsing
itself.

Regards,

Adam




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to