[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#452806: [debchange] dch -a shouldn't modify existing entries



reassign 452806 dpkg
retitle 452806 [dpkg-parsechangelog] Please maintain trailing whitespace
kthxbye

Hi,

On Sun, 2007-11-25 at 11:41 +0100, Josselin Mouette wrote:
> Package: devscripts
> Version: 2.10.10
> Severity: normal
> File: /usr/bin/dch
> 
> When "dch -a" is called, it strips any whitespace at the end of lines in 
> the existing changelog entries.
> 
> This is very annoying for team-maintained packages, especially combined 
> to debcommit which then considers these lines as having changed and adds 
> them to the commit message.

debchange simply parses the output of dpkg-parsechangelog(1) in order to
derive the changes. dpkg-pc is stripping the whitespace before debchange
begins processing it; I'm therefore reassigning the bug.

        adam@kaa:~$ egrep " $" debian/changelog
          * tagpending:  
          * debcheckout:  
              (Closes: #465849)  
        
        adam@kaa:~$ dpkg-parsechangelog |egrep " $"
        Changes: 

Regards,

Adam


Reply to: