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.

I downloaded and installed

Steven Jones - September 20, 2007 - 06:32

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.patch

If you have a problem with

sinasalek - January 17, 2008 - 15:09

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

digitalfreak - April 17, 2008 - 08:03

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.patch instead of just patch < 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

aniskhan - May 15, 2008 - 14:20

This is the only command that worked for me on Windows XP 64-bit:

patch -p0 -b --verbose --binary -i thefile.diff

 
 

Drupal is a registered trademark of Dries Buytaert.