Package: git-buildpackage
Version: 0.4.53
Severity: normal
Tags: patch

The manpage says
"If the distribution of the topmost section in debian/changelog is
UNRELEASED the changelog entries will be inserted into this section. 
Otherwise a new section will be created."

After an update a while ago (don't recall which or when), it stopped
actually doing this. Since then I've been hoping someone would fix this
(but since it seems not, I finally got around to filing this bug).

>From what I can tell, the problem is in git-dch line 344:

        elif options.new_version or not found_snapshot_header:
            # the user wants to force a new version or switch to snapshot
            # mode
            add_section = True

Since I'm not using snapshots, there's no snapshot header; therefore,
because of "not found_snapshot_header", this will always evaluate to True,
even though I'm *not* forcing a new version, nor do I want to "switch to
snapshot", like the comment says. I want to release, not to snapshot.

Perhaps you meant something like

        elif options.new_version or (options.snapshot and not 
found_snapshot_header):

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (850, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-buildpackage depends on:
ii  devscripts                   2.10.50     scripts to make the life of a Debi
ii  git-core                     1:1.6.3.1-1 fast, scalable, distributed revisi
ii  python                       2.5.4-2     An interactive high-level object-o
ii  python-dateutil              1.4.1-3     powerful extensions to the standar
ii  python-support               1.0.3       automated rebuilding support for P

Versions of packages git-buildpackage recommends:
ii  pristine-tar                  1.00       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
pn  git-load-dirs                 <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to