SVN/CreateAndApplyPatches

From VentureResearchWiki
< SVN
Jump to navigation Jump to search

This page covers creating and applying svn patches. You can use this to put your changes away and work on them in another branch.

  • Go to your working directory (trunk of branch). You don't have to check in these files, but make sure all your changes have been added in svn.
svn diff > patch_name.patch
  • revert all your changes from current working directory
svn revert -R
  • go to the new destination (probably a new branch) to work on the changes
patch -p0 < patch_name.patch

reference: ​[[1]]