Bug#780138: dch: dies if debian/control contains comment starting with ##

James Cowgill james410 at cowgill.org.uk
Mon Mar 9 16:45:23 UTC 2015


Package: devscripts
Version: 2.15.1
Severity: normal

Hi,

Running 'dch -i' within the qemu package gives:
> Parse error: invalid key/value stansa at line 45 of data ("# --with-gtkabi=2.0").

Line 45 contains this (ie a double #):
> ## --with-gtkabi=2.0

Debian Policy 5.1 says:
> Lines starting with # without any preceding whitespace are comments
> lines that are only permitted in source package control files
> (debian/control). These comment lines are ignored, even between two
> continuation lines. They do not end logical lines.

After reading that, I think lines starting with ## should still be
treated as comments, but dch doesn't treat them as such.

Thanks,
James



More information about the devscripts-devel mailing list