Package: dpatch
Version: 2.0.13
Severity: normal

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

Ok, I try to explain the situation:

Let's say, we are working in the source tree of a Debian package and ran
build target, so the patch/patch-stamp target was called. The source is
now patched. Now you maybe see a mistake and you want to edit an
existing patch. Running dpatch-edit-patch, modifying and saving the
patch now leads to the following situation: The patch is modified in
debian/patches, but the old patch is still applied to the source, because
the clean target (unpatch target) is applied to the directoty in /tmp,
not to the real source. Trying to call the unpatch target (e.g. with the clean
target) now fails, because the patch cannot be reverted. The only chance to
run unpatch target is to apply manually the changes made during the last
patch-change to the source too, fix debian/patched and then try to call
unpatch target again. Maybe dpatch-edit-patch should check for the
existence of debian/patched inside the source and apply the unpatch
target to the source if debian/patched is found.

BTW: Maybe this bug is also related to bug #290820.

Regards, Daniel

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (110, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8.15050330
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

dpatch depends on no packages.

Versions of packages dpatch recommends:
ii  dpkg-dev                      1.13.9     Package building tools for Debian
ii  fakeroot                      1.3        Gives a fake root environment
ii  patchutils                    0.2.30-1   Utilities to work with patches

Versions of packages dpatch is related to:
ii  reportbug                     3.13       reports bugs in the Debian distrib
pn  totem-gstreamer               <none>     (no description available)

- -- no debconf information

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

iD8DBQFCsazMdg0kG0+YFBERAmflAJ9VyMg9yC5dwFPZ1ljVSfFUuKn4wACgi/s7
vxFqcUhwEm1Oaiv3UMO5+qA=
=q6PH
-----END PGP SIGNATURE-----


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

Reply via email to