quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] [PATCH] Fix import -f on compressed patches


From: Jean Delvare
Subject: Re: [Quilt-dev] [PATCH] Fix import -f on compressed patches
Date: Sun, 5 Mar 2006 10:48:10 +0100

Hi all,

Quoting myself:
> I have noticed that the import command, when used in replacement mode,
> does no more work properly with compressed patches. Unless "-d n" is
> used, we go through function merge_patches which assumes that both the
> old and the new patch are not compressed, causing data corruption if
> they actually are.
> 
> I have come up with the following fix, which seems to work for me:
> (...)
> Comments welcome. If there are no objections, I'll apply this patch to
> CVS.

So I did. I also added a new test case (import2.test) which is
basically a copy of import.test, but for compressed patches. Although
it tests mainly the import command, the new, add, refresh, pop, header
and delete commands are also used, so it can be seen as a general test
for compressed patches handling. Such a test was missing so far.

-- 
Jean Delvare




reply via email to

[Prev in Thread] Current Thread [Next in Thread]