svn diff > ~/local_changes.diff
The patch can then be applied on a different working copy by applying the command:
patch -p0 -i ~/local_changes.diff
The command output will tell which parts of the patch have been applied successfully and which ones, if any, have failed.
If you work with IntelliJ IDEA, I suggest you both create and apply the patch with IDEA, since patches created by Subversion do not work well when applied in IDEA.
No comments:
Post a Comment