[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: <kfogel_at_collab.net>
Date: 2003-11-25 15:46:48 CET

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 25 16:43:29 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.