[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn patch command?

From: Ryan Hunt <rhunt_at_hp.com>
Date: 2003-11-25 18:18:30 CET

On Tuesday, November 25, 2003, at 07:46 AM, kfogel@collab.net wrote:

> nick vajberg <nickvajberg@yahoo.dk> writes:
>> Is there a way to apply a patch file, produced from
>> "svn diff"?
>
> There was no need to crosspost this to the dev@ list. Really, it's a
> textbook example of why we created the users@ list :-). No big deal,
> just pointing it out for next time.
>
> (I'm keeping the crosspost in my reply, though, so people on both
> lists see the reminder to stick to users@ for usage questions.)
>
> On to your actual question:
>
>> That is,
>>
>> svn patch http://url/latest.cpp patchfile
>>
>> -or-
>>
>> svn patch /wc/latest.cpp patchfile
>>
>> Alternatively, the merge command could take a patch
>> file.
>
> You know about the venerable, standalone 'patch' program, right? The
> diffs produced by 'svn diff' are meant to be applied using 'patch'.
>
> Hope this helps,
> -Karl
>

Karl-
For those of us that don't know about the standalone 'patch' program
would you mind a little more detail?? I for one am curious how this
might work...

-Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 25 18:24:50 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.