I have a patch generated with diff command:
diff -ruN orig/ new/ > file.patch
I want to apply this patch on svn repo with svn utilities. How to do that?
$ svn help patch
patch: Apply a patch to a working copy.usage:
patch PATCHFILE [WCPATH]Apply a unidiff patch in
PATCHFILEto the working copyWCPATH. IfWCPATHis omitted, '.' is assumed.A unidiff patch suitable for application to a working copy can be produced with the
svn diffcommand or third-party diffing tools. Any non-unidiff content ofPATCHFILEis ignored, except for Subversion property diffs as produced bysvn diff.