1

For some reason, (please dont ask me why!), I wonder something.

Suppose that;

  • I have created a patch file for some changes on my project (which is a SVN folder).
  • I reverted any changes on this folder and exported SVN revisioned files.
  • I try to apply this patch on this exported files folder which is obviously not an SVN folder and utility gives this error, too. ("* is not a working copy")

So, is it possible to apply a patch to a non-SVN folder with same file/folder structure etc.

Semih Ozmen
  • 571
  • 5
  • 20

1 Answers1

2

Yes, you can use the Unix patch command. If using SVN 1.8 or later, you may want to use the --patch-compatible switch when generating the patch.

bahrep
  • 29,961
  • 12
  • 103
  • 150
RjOllos
  • 2,900
  • 1
  • 19
  • 29
  • You have numerous options on Windows, see [this question](http://stackoverflow.com/questions/517257/how-do-i-apply-a-diff-patch-on-windows). – RjOllos Apr 25 '16 at 21:08