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

Re: '/path/to/wc' is not a working copy on ApplyPatch

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-08 13:52:29 CEST

On Apr 8, 2006, at 00:43, Christopher Key wrote:

> I'm not sure if this a TSVN or SVN issue. I've received a patch
> file which
> I'm trying to apply to a working copy. Whenever I try to view the
> changes,
> I get the message '/path/to/wc' is not a working copy, where 'path/
> to/wc' is
> presumably the location that the author of the patch had his
> working copy.
> Now, if I go into the patch file and change all three absolute
> paths to
> point to my WC, the patch applies just fine, but it strikes me that
> this
> really isn't necessary.

Subversion does not contain any feature to apply outside patches. If
TortoiseSVN does, then you'll have to ask them how to work it. On
Unix, you would use the regular "patch" program, and "man patch" will
tell you how to manipulate the paths within the patch file so it
applies to your source (usually the -p option).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 8 13:53:28 2006

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.