You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Christopher Key <cj...@cam.ac.uk> on 2006/04/07 22:43:02 UTC

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

Hello,

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.

Chris Key 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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