On 9/8/07, Charles Acknin <charlesacknin@gmail.com> wrote:
> On 9/7/07, Ben Collins-Sussman <sussman@red-bean.com> wrote:
> > I have a dumb question: is there a design-doc somewhere that
> > describes how to use the feature? I mean, some really simple
> > instructions that demonstrate the new commands and switches, so we
> > understand how to do the testing?
>
> The design doc is at
> http://svn.collab.net/repos/svn/branches/svnpatch-diff/notes/svnpatch.
> It doesn't tell how to use the feature but instead how it works,
> though.
>
> Anyway, using the feature is as simple as appending --svnpatch to 'svn
> diff' subcommand to produce the output ('svn help diff' tells about
> the option), and then use 'svn patch' to apply the patch ('svn help
> patch' also available. (Oops, I have to update this help section so
> that users know Unidiff isn't supported right now.))
>
> So, in a nutshell,
> 1. svn diff --svnpatch > /path/to/output.patch
> 2. svn patch /path/to/output.patch .
I am still confused about the GNU patch part. Does svn patch apply
the patch if you do not have GNU patch or does it require it? Is GNU
patch just required for people that want to apply a patch from the
unidiff? Is there any difference in the outcome?
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 8 15:36:04 2007