[development] Problems making a proper patch with new failes and new directory

Peter Wolanin pwolanin at gmail.com
Wed Jun 6 13:36:11 UTC 2007

I'm not sure if your question is about core or contrib.

For contrib (where you have CVS write access) I use "cvs add
" to add the directory.

If you are doing this with core files (where you don't have CVS write
access), someone else answered this question for me recently.  The
answer is, of course, in the d.o handbooks in the "Patches" section
(but somewhat buried):



On 6/6/07, Stefan Nagtegaal <development at robuustdesign.nl> wrote:
> First of all, I'm not sure I wrote this message to the proper list. Perhaps
> it should be on the support list, but as there are *a lot* of really good
> developers on this list, I think my question is more in place here than
> there.
> If not, I apoligize for that..
> the main reason for my question is that I'm trying to make a proper patch
> for the following issue:
> http://drupal.org/node/140932 - Improve image-api: Image toolkits should be
> implemented as modules
> The problem is that the patch should add a directory 'gd', and place the new
> files (gd.info and gd.module) inside it.
> According to http://drupal.org/patch/create (Creating patches) it is
> possible to add new files by having the '-N' flag in your cvs diff command
> and adding the /newfile.inc/0/New file// lines in the 'CVS/Entries' file.
> Is this possible with new to add directories? And how should I do that?
> Thank you for your time and help!
> Kind regards,
> Stefan Nagtegaal

More information about the development mailing list