quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] [PATCH] quilt-0.46 follow patch symlinks with refresh


From: Christopher Fester
Subject: [Quilt-dev] [PATCH] quilt-0.46 follow patch symlinks with refresh
Date: Tue, 29 Jan 2008 11:26:19 -0600

Hi all,

To start, apologies for my mailer... if it's in plain-text mode it still
appears to auto-format anything that is pasted in, including patches.
So I had to attach my silly little patch.  If this is unacceptable, I'm
willing to switch over to mutt (I wanted to do it sooner or later
anyway...), but it'll take me longer.

I attempted to do a patch for the current CVS code but found that
there's no 'configure' file, so there was no way for me to test my
modification.  So this patch is based against release 0.46.  I'm happy
to update the patch for the CVS version if someone can educate me on how
to configure/make/install from a CVS checkout.

Anyways... the patch.  We've been working on writing a BSP for WindRiver
PNE Linux.  WindRiver's build/development structure makes the patches in
the QUILT_PATCHES directory symlinks.  The directories themselves aren't
symlinks, rather the end file is a link off to a patch somewhere else.
For us that link points to our "layer" for WRLinux, which is in
subversion.  The default behavior for quilt is when doing a refresh, to
first do an 'rm -f' on the file, followed by writing the file out.  This
unfortunately blows away the symlink and then creates a real file in
it's place, resulting in the patch in our subversion area not getting
the update.

The modification I did is to enable a non-default behavior with
QUILT_NO_RM_SYMLINKS=yes in the quiltrc file.  All this does is prevent
the 'rm' step from happening (the file is then just overwritten,
preserving the link).

Let me know if there's any way for me to improve the patch.  Thanks!
Chris






Attachment: patch0
Description: patch0


reply via email to

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