Am Freitag, den 17.06.2005, 09:14 +0900 schrieb Junichi Uekawa:
> Hi,
> 
> > dpatch tries to revert the changes made
> > by /home/user/package_source-a.b/debian/patches/01_patch_1.dpatch and
> > this fails, because this is the updated patch, which was never applied
> > to /home/user/package_source-a.b - the old version of 01_patch_1.dpatch
> > is still applied to your working directory. And this causes trouble and
> > probably (depending on the size of the patch) a broken work
> > directory /home/user/package_source-a.b.
> 
> Sounds like a genuine bug to me.
> 
> Two options here:
> 
> 1. force the edited patch to be 'unpatched' before dpep invocation
>   -> a less pleasant experience to those who are used to the current behavior,
>      but it's broken anyway?
> 2. store the original patch in debian/patched/ and use that for unpatching 
>   -> this will be an incompatible change which may break more.

The second one sounds good (maybe put the applied patch with suffix
'applied_' to debian/patched). So running dpatch-edit-patch will not
change the real work directory and the changes made by the applied patch
can be cleanly reverted.

Regards, Daniel



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

Reply via email to