TortoiseCVS

Last modified: February 28, 2008 - 12:22

TortoiseCVS is a graphical CVS client for Windows. For more on using this with Drupal, see http://drupal.org/node/227524

Step 1: Checkout Drupal from CVS

  1. Download and install TortoiseCVS.
  2. Right-click anywhere, Checkout from CVS...
  3. Fill out the following settings:
  4. By default, Drupal HEAD is retrieved. If required, click the Revision tab, Choose branch or tag and select an older version, e.g. DRUPAL-5.
  5. Click OK.
  6. If prompted, enter the password 'anonymous'.

Step 2: Creating a patch

  1. Make whatever changes to the Drupal files.
  2. Right-click the "root" Drupal folder (e.g. "drupal"), CVS > Make Patch....
  3. Enter a name, Save.

Top directory ignored making patch

wonder95 - February 9, 2009 - 00:59

I came across a problem today when trying to make a patch using TortoiseCVS. It seems that the directory below the one where it is called is ignored. For instance, if I have drupal installed in htdocs/drupal7/, and I change node.module (which is in /drupal7/modules/system), when I make a patch from /drupal7, the path in the patch is system/system.module instead of modules/system/system.module. The patch then fails when I try to install it from /drupal7, which is where you usually want to install from. Has anyone else seen this problem?

Can confirm this behavior

Frank Ralf - September 28, 2009 - 13:53

I can confirm this behavior, but don't know how to amend it. It's annoying because all my patches fail the automatic testing on drupal.org.

Frank

 
 

Drupal is a registered trademark of Dries Buytaert.