Package: devscripts
Version: 2.10.17
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Since today's upgrade to 2.10.17 debchange inserts an empty line
before the new "  * " entry. From looking through the code this seems
related to the fix for #452806, i.e. the changed reading of the
changelog; if I chomp $CHANGES the empty lines disappear again:

  # Open in anticipation....
  unless ($opt_create) {
      open S, $changelog_path or fatal "Cannot open existing $changelog_path: 
$!";

      # Read the first stanza from the changelog file
      # We do this directly rather than reusing $changelog{'Changes'}
      # so that we have the verbatim changes rather than a (albeit very
      # slightly) reformatted version. See Debian bug #452806

      while(<S>) {
          last if /^ --/;

          $CHANGES .= $_;
      }
      chomp $CHANGES;   

      # Reset file pointer
      seek(S, 0, 0);
  }

I'm not sure if this affects other parts but it least it works for
(explicit or implicit $opt_a and for dch $TEXT).

Cheers,
gregor, now going back to actually using dch again :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHyHaKOzKYnQDzz+QRAgElAKCYj7jEC5xsT/4qppgW1Gi7Iu0OFQCgy9VH
8qJkbi04eh33pSA7akQNEvc=
=bsSB
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to