Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 07:23:19 +0000
From:      Chris Rees <utisoft@gmail.com>
To:        David Wolfskill <david@catwhisker.org>
Cc:        Paul Schmehl <pauls@utdallas.edu>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: How to apply an svn diff
Message-ID:  <CADLo83-NSHUK_CJcJJCHYNnfaSD%2BnZo=HeVmfd9jwN8oN0HVww@mail.gmail.com>
In-Reply-To: <20130108215222.GE2001@albert.catwhisker.org>
References:  <AF0B8EAAB094D6053B4EBC15@utd71538.campus.ad.utdallas.edu> <20130108215222.GE2001@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8 Jan 2013 21:52, "David Wolfskill" <david@catwhisker.org> wrote:
>
> On Tue, Jan 08, 2013 at 03:47:30PM -0600, Paul Schmehl wrote:
> > Once you've created an svn diff and submitted it using send-pr, how is
the
> > diff applied to update the port?  I can't seem to figure this out from
> > reading the svn docs.
> > ....
>
> The approach I prefer involves invoking "svn patch".  (This is not
> specific to ports, btw.)
>
> g1-227(9.1-S)[1] svn help patch
> patch: Apply a patch to a working copy.
> usage: patch PATCHFILE [WCPATH]
>
>   Apply a unidiff patch in PATCHFILE to the working copy WCPATH.
>   If WCPATH is omitted, '.' is assumed.
> ....

I intensely dislike the way svn patch wants a file specified rather than
using stdin; my technique is to use curl "url" | patch.  I'll fix that one
of these days...

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-NSHUK_CJcJJCHYNnfaSD%2BnZo=HeVmfd9jwN8oN0HVww>