Bug#766516: dch -r can delete the preceeding changelog entry

Adam D. Barratt adam at adam-barratt.org.uk
Thu Oct 23 19:30:14 UTC 2014


Control: tags -1 + patch

On Thu, 2014-10-23 at 20:00 +0100, Adam D. Barratt wrote:
> Control: retitle -1 dch should cope better with malformed trailers
> 
> On Thu, 2014-10-23 at 14:31 -0400, Joey Hess wrote:
> > If I run dch -r with the not quite correctly formatted changelog below,
> > it results in the entry below the UNRELEASED one getting deleted.
> > 
> > dch is getting confused by the lack of a full name before the email address.
> 
> fwiw, it's not just -r. I can reproduce the same issue by simply running
> dch.

The attached patch appears to work for me; testing appreciated.

Regards,

Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 766516.diff
Type: text/x-patch
Size: 876 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20141023/89337410/attachment.bin>


More information about the devscripts-devel mailing list