• How to apply/create an svn patch (for beginners)


    To apply an svn patch (your_patch_file.patch) go to the root of your source directory, and place the patch there. (or you can specify the location of the patch with the patch name if it is not placed in the root of the source tree.)
    patch -p0

    Similarly if you have modified the source tree, and want to create a patch for the changes that you made, from the source root:
    svn diff > your_patch_file.patch
    your_patch_file.patch will be created inside the root of the source tree. (You may specify the location too, as usual)

0 comments:

Leave a Reply

Thanks for sharing your feedback! If your feedback doesn't appear right away, please be patient as it may take a few minutes to publish - or longer if the blogger is moderating comments.