Apply patches on Windows

Last modified: May 16, 2009 - 16:45

Patching on Windows can be done by a variety of programs. The command line patch utility can run on Windows natively with GnuWin32 or Unxutils, or via the emulation layer Cygwin.

If you require or fancy a graphical interface, you can use for example TortoiseSVN or the IDE Eclipse.

Eclipse

To apply patches to code using Eclipse:

  1. Menu > windows > open perspective > others > team synchronizing
  2. Open the patch file, select all text and copy it to clipboard (Ctrl+ C)
  3. Menu > project > apply patch
  4. Select clipboard, click next, select the file you want to patch, click finish or next to setup patching options.

More information can be found with details on how to install and setup Eclipse for Drupal.

TortoiseSVN

Instructions for applying patches using TortoiseSVN are available on TortoiseSVN.net as are instructions for applying patches using TortoiseMerge.

 
 

Drupal is a registered trademark of Dries Buytaert.