Patch
Last modified: November 27, 2006 - 10:10
If you only need patch, download the standalone program from Sourceforge.
Note: patch on Windows requires CRLF line-endings; see also Common problems.
If you only need patch, download the standalone program from Sourceforge.
Note: patch on Windows requires CRLF line-endings; see also Common problems.
I downloaded and installed
I downloaded and installed patch on Vista, but the standard Drupal command line for patch didn't work, instead I used:
patch -p0 -i patch_file.patchIf you have a problem with
If you have a problem with this program, i suggest you to have a look at this thread http://drupal.org/node/23844
and specially this comments :
http://drupal.org/node/23844#comment-41593
http://drupal.org/node/23844#comment-41595
sina.salek.ws
Feel freedom with open source softwares
this might be dumb and most of you know it
after intalling the patch, i just spend 30 mins to figure out how to use in command-line, and then I just realize i have to add the the directory where the "patch.exe" file is located in the "PATH" variable in window environment (I am using XP, btw), and please also invoke the command in "cmd" in the form of
patch.exe < file.patchinstead of justpatch < file.patch(I assume here that your patch was not made relative to the Drupal root directory you can place the patch in the same directory as the file being patched and run the patch)This is the only command
This is the only command that worked for me on Windows XP 64-bit:
patch -p0 -b --verbose --binary -i thefile.diff