Bug#673974: dch --increment does not create new section
Marc Haber
mh+debian-bugs at zugschlus.de
Tue May 22 10:40:41 UTC 2012
Package: devscripts
Version: 2.11.7
Severity: normal
File: /usr/bin/debchange
Hi,
dch --increment is documented as
--increment, -i
Increment either the final component of the Debian release num‐
ber or, if this is a native Debian package, the version number.
This creates a new section at the beginning of the changelog
with appropriate headers and footers.
This behavior has recently changed:
[62/557]mh at salida:~/tmp$ cat debian/control
Package: package
[63/558]mh at salida:~/tmp$ cat debian/changelog
package (1.0-1) UNRELEASED; urgency=low
* Initial release. (Closes: #XXXXXX)
-- Marc Haber <mh+debian-packages at zugschlus.de> Tue, 22 May 2012 12:34:31 +0200
[64/559]mh at salida:~/tmp$ dch --increment <quit editor after typing a space>
Use of uninitialized value $_ in string eq at /usr/bin/dch line 764.
[65/560]mh at salida:~/tmp$ cat debian/changelog
package (1.0-2) UNRELEASED; urgency=low
* Initial release. (Closes: #XXXXXX)
*
-- Marc Haber <mh+debian-packages at zugschlus.de> Tue, 22 May 2012 12:36:19 +0200
[66/561]mh at salida:~/tmp$
I would have expected dch to leave the changelog entry for version
1.0-1 intact while creating a new one for 1.0-2
Greetings
Marc
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
DEBUILD_LINTIAN=no
DEBUILD_ROOTCMD=fakeroot
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc"
DEBUILD_PRESERVE_ENVVARS="buildbasepackages,extradaemonpackages"
DPKGSIG_SIGN_CHANGES=force_full
DPKGSIG_CACHE_PASS=1
DEBSIGN_KEYID=mh+debian-packages at zugschlus.de
DEBCHANGE_MULTIMAINT=no
BTS_SENDMAIL_COMMAND="/usr/sbin/exim4 -f mh+debian-packages at zugschlus.de"
BTS_INTERACTIVE=force
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.6-zgsrv20080 (SMP w/6 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.16.3
ii libc6 2.13-32
ii perl 5.14.2-10
ii python 2.7.2-10
ii python2.6 2.6.7-4
ii python2.7 2.7.3~rc2-2.1
Versions of packages devscripts recommends:
ii at <none>
ii curl 7.25.0-1
ii dctrl-tools 2.22
ii debian-keyring 2012.02.22
ii dput 0.9.6.3
ii equivs 2.0.9
ii fakeroot 1.18.3-1
ii gnupg 1.4.12-4
ii libcrypt-ssleay-perl <none>
ii libjson-perl <none>
ii libparse-debcontrol-perl 2.005-3
ii libsoap-lite-perl <none>
ii liburi-perl 1.60-1
ii libwww-perl 6.04-1
ii lintian 2.5.7
ii man-db 2.6.1-2
ii patch 2.6.1-3
ii patchutils 0.3.2-1.1
ii python-debian 0.1.21
ii python-magic <none>
ii sensible-utils 0.0.7
ii strace 4.5.20-2.3
ii unzip 6.0-6
ii wdiff 1.1.0-2
ii wget 1.13.4-3
ii xz-utils 5.1.1alpha+20110809-3
Versions of packages devscripts suggests:
pn bsd-mailx [mailx] 8.1.2-0.20111106cvs-1
pn build-essential 11.5
pn cvs-buildpackage <none>
pn devscripts-el <none>
pn gnuplot <none>
pn libauthen-sasl-perl <none>
pn libfile-desktopentry-perl <none>
pn libnet-smtp-ssl-perl <none>
pn libterm-size-perl <none>
pn libtimedate-perl 1.2000-1
pn libyaml-syck-perl <none>
pn mutt 1.5.21-5+b1
pn openssh-client [ssh-client] 1:5.9p1-5
pn svn-buildpackage <none>
pn w3m <none>
-- no debconf information
More information about the devscripts-devel
mailing list