quilt-dev
[Top][All Lists]
Advanced

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

Re: [Quilt-dev] quilt import worked around


From: Dean Roehrich
Subject: Re: [Quilt-dev] quilt import worked around
Date: Fri, 17 Sep 2004 10:17:29 -0500

>From:  Chris Friesen <address@hidden>
>Well, I just added all my patches to the patches directory, and put all their 
>names into the series file.  This seems to work, bypassing "quilt import" enti
>rely.
>
>Now, when I do a "quilt refresh" I notice that the output has these "Index" 
>lines, then double-underscore.  Any reason for this?  I'm curious why the file
> 
>was not made to look like the output of "diff" when doing directories.
>
>As it is, the quilt-generated diffs look totally different than the 
>externally-generated ones, and this is not desireable.

Now why did you run the refresh command if you wanted the patch to remain in
its original form?

The Index line is explicitly added by quilt in the diff_file() function in
the patchfns script.  Someone else would have to say why.

After a refresh, particularly of a newly-imported patch, it's possible that
the files will be diff'ed in a different order and your newly-refreshed patch
won't match it's original pre-import version.  Any change here would probably
have a large impact on the quilt source (lots of work in patchfns at
least)--and for what purpose?

If you want your '.pc' and 'patches' directories to be up in ../ and you don't
want quilt to interpret the filenames from ../ then use the QUILT_PC and
QUILT_PATCHES environment variables.  In fact, you probably only want to worry
about the 'patches' directory.  Let quilt put the .pc directory wherever it
likes--you're trying a little too hard here, I think.

Dean




reply via email to

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