Bug#826837: [debchange] --newversion always creates new entry when --distribution is given

Ilias Tsitsimpis i.tsitsimpis at gmail.com
Thu Jun 9 09:12:02 UTC 2016


Package: devscripts
Version: 2.16.5
Severity: normal
Tags: patch

Dear maintainer,

According to the manpage, the --newversion should append to the
current changelog entry if the current release is UNRELEASED:

| If DEBCHANGE_RELEASE_HEURISTIC is changelog (default) and the current
| release is UNRELEASED, this will only change the version of the
| current changelog stanza. Otherwise, this will create a new changelog
| stanza with the new version.

This doesn't hold when the --distribution option is being used. Instead,
a new changelog entry is created, leaving the old one (UNRELEASED) entry
intact.

I have provided a patch that fixes tha above error.

Cheers,

-- 
Ilias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_mail
Type: text/x-diff
Size: 503 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20160609/538ff7d4/attachment.diff>


More information about the devscripts-devel mailing list