I am trying to make a patch with multiple files in different directories. I don’t want to include all my uncommitted files as I have a lot not applicable to the patch.
I know of this command to create a patch with a specific file, only issue is this is one file:
svn diff -up original.php > filename.patch
Is there any way to do this with multiple files in different directories ?
Thanks
You can try used:
svn diff -r BEGIN_REVISION:END_REVISION > patch_file.patchThis will make the patch on all modified files.
If you want create patch for concrete files, you can enumerate them before
>.svn diff dir_name_1/first.php dir_name_2/second.php > patch_file.patchFor one directory:
svn diff -uRp dir_name > patch_file.patchI’ll hope it helps you.