On Tue, Aug 25, 2009 at 12:46:13PM -0700, Alan Irwin wrote:
> On 2009-08-25 19:09+0100 Andrew Ross wrote:
> 
> > While we're on the subject of patches, the svn patch command generates
> > headers like
> >
> > Index: examples/c/x29c.c
> > ===================================================================
> > --- examples/c/x29c.c   (revision 10316)
> > +++ examples/c/x29c.c   (working copy)
> >
> > for each file. This is not in the standard patch format (as described
> > above by Alan). Does anyone have any neat way of applying these
> > patches without having to hand edit the patch first? This would be
> > useful when people send patches from their working copy that I
> > would like to test on my working copy before applying to svn. I can't
> > seem to find an easy way to do this with my version of patch, but I
> > can't believe there isn't a solution.
> 
> How about using -p0 when patching from the top-level source tree?  I haven't
> bothered now to try the above form by hand, but I know I have patched with
> that svn form of patch (at least the one you get with svn diff) before with
> no problems.

Well there we go! I could swear that didn't work last time I tried it. This 
might also be worth highlighting on the wiki.

Andrew

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to