Bug#675790: "dch -r" refuses to proceed

James McCoy jamessan at debian.org
Sun Jun 3 20:20:07 UTC 2012


On Jun 3, 2012 4:12 PM, "Harald Dunkel" <harri at afaics.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06/03/12 21:13, James McCoy wrote:
> >
> > No, it's not a misunderstanding.  Just make vi write the file again
(:wq).  We use the modification time to determine whether the changes are
acceptable.
>
> Of course I see that you use the modification date to check if
> the changelog file was modified, but there is no reason for this
> check on "dch -r", since we know for sure that dch had changed it.

We know for sure that dch has modified the changelog when you just run dch,
too. That doesn't mean that you've accepted the changes that were made.

> > Alternatively, you can one of the options suggested in the man page.
Either "dch -r """ (i.e., run -r and supply an empty changelog message) or
use --no-force-save-on-release.
> >
>
> So you mean that all Debian developers using dch have to add empty
> comments or long command line options, just to avoid some code
> rework in dch?

No. They just run :wq to exit Vim (or whatever's appropriate for their
editor) and everything works as expected.  If they don't want to do that,
then they set the appropriate configuration options in ~/.devscripts.

It's really not as hard as you're making it out to be.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20120603/e3ca9a9c/attachment.html>


More information about the devscripts-devel mailing list