Package: devscripts
Version: 2.10.11
Severity: minor
Tags: debdiff

Hi!

Let me just explain this with an example. This is perfect:

<example>
[EMAIL PROTECTED] ~/debpackages/logapp/logapp-0.8] debdiff 
diff -u logapp-0.8/debian/changelog logapp-0.8/debian/changelog
--- logapp-0.8/debian/changelog
+++ logapp-0.8/debian/changelog
@@ -1,3 +1,10 @@
+logapp (0.8-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Bug fix.
+
+ -- Kumar Appaiah <[EMAIL PROTECTED]>  Wed, 28 Nov 2007 18:26:41 +0530
+
logapp (0.8-1) unstable; urgency=low

* New upstream release
only in patch2:
unchanged:
--- logapp-0.8.orig/example.conf
+++ logapp-0.8/example.conf
[snip]
</example>

Now, I want a diff _excluding_ changelog.

<example>
[EMAIL PROTECTED] ~/debpackages/logapp/logapp-0.8] debdiff --exclude changelog 
gpg: Signature made Wed 10 Oct 2007 02:58:50 PM IST using DSA key ID DD1B0EF7
gpg: Can't check signature: public key not found
diff -Nru --exclude changelog /tmp/xpXPu5FfLe/logapp-0.8/example.conf 
/tmp/p6fTS94jEO/logapp-0.8/example.conf
--- /tmp/xpXPu5FfLe/logapp-0.8/example.conf     2007-09-30 18:11:30.000000000 
+0530
+++ /tmp/p6fTS94jEO/logapp-0.8/example.conf     2007-11-28 18:31:04.000000000 
+0530
@@ -4,7 +4,7 @@
[snip]
</example>

Please note the directory name; it comes with the /tmp/<...>. I seem
to have to strip the two levels myself...

Thanks.

Kumar

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_US)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  debianutils                   2.23.1     Miscellaneous utilities specific t
ii  dpkg-dev                      1.14.6     package building tools for Debian
ii  libc6                         2.7-1      GNU C Library: Shared libraries
ii  perl                          5.8.8-11.1 Larry Wall's Practical Extraction 
ii  sed                           4.1.5-3    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.7.1      Gives a fake root environment

-- no debconf information

-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036

Attachment: signature.asc
Description: Digital signature

Reply via email to