On Tue, 24 Nov 2009, Robert Collins wrote: > On Mon, 2009-11-23 at 09:30 +0100, Raphael Hertzog wrote: > > In the end, I decided to trust nothing and to verify if the first > > patch can be applied or not. If it can be applied, we assume that the > > patches have not been applied and we apply them all (unless > > --no-preparation is given). If quilt is available, instead of checking the > > first patch, I check the first patch returned by quilt unapplied > > and apply the remaining of the patches if needed. > > This heuristic is likely to fail - patches that solely add content can > apply repeatedly without error.
I know, that's why it's called an heuristic (it doesn't get it right 100% of the cases) and why --no-preparation exists and why it's best to not allow for any fuzz in that test. Cheers, -- Raphaƫl Hertzog -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org