Bug#650732: devscripts: debdiff's auto sort reverses diff when two dscs have the same version

Cyril Brulebois kibi at debian.org
Fri Dec 14 11:03:47 UTC 2012


Control: tag -1 patch

Cyril Brulebois <kibi at debian.org> (02/12/2011):
> while reviewing (for sponsorship reasons) two versions of the same dsc
> (it was updated), I ran:
>   debdiff old/foo.dsc new/foo.dsc
> 
> and got a reverse diff.
> 
> Apparently, the logic behind DEBDIFF_AUTO_VER_SORT=yes is reversing a
> bit too much: in this case, the version is strictly the same in both
> dsc's, so it would be nice not to reverse in this case. ;-)

Here's a patch to fix that behaviour.

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-auto-reverse-diffs-when-the-same-version-is-pa.patch
Type: text/x-diff
Size: 1663 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20121214/be4bed43/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20121214/be4bed43/attachment.pgp>


More information about the devscripts-devel mailing list