CVS Patch for Windows

Events happening in the community are now at Drupal community events on www.drupal.org.
Sid_M's picture

During the most recent LA Drupal meeting, the question came up as to how to apply a CVS patch on a Windows box. I googled around, and found this link. See the section entitled "If you're me, and you want to apply a patch file: (or if you're not me and you just want to apply a standard DIFF/PATCH file on Windows without pulling your hair out)".

A couple of details he doesn't mention.

If you want to see or edit your system path, go to start > settings > control panel > system. On the window that opens, click the advanced tab, and at the bottom of that tab, click the Environment Variables button. To view or edit the path for the current user, find the PATH variable in the upper section, and click edit. The same in the lower window section shows the path shared by all users. You want to choose or create the folder in your system that you want to hold the patch program, and add the full path to that folder to the path variable.

Also, his graphic shows but he doesn't say this: on the window displayed when you click Open With, check the checkbox for "Always use the selected program to open this kind of file."

Hope that helps.

Comments

Cygwin?

ishmael-sanchez's picture

I just set up and installed Cygwin and I'm hoping to use this to patch on Windows. Seems pretty easy based on this handbook page http://drupal.org/node/32875. Any thoughts on using this verse what you mentioned above?