cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal co -r DRUPAL-7-0 drupal
I've been importing databases with the mysql command by passing in a file. An alternate method is using the source command inside mysql.
Example:
source filename.sql
In order to revert a single file in SVN, you have to use the merge command:
svn merge -r 105:92 /path/to/file/file.txt
I ran into a situation after upgrading my Drupal site from 5x to 6x where my site was extremely slow. Turns out, it was all related to private files. There was some custom code before that was bypassing the private file mechanism so we never knew the difference. I removed that custom code as part of the upgrade and we got major slowness.
The issue though is that we have functionality that requires private files for some of the files. As a workaround, James Walker suggested a solution and it has worked really well for us.
High Level Steps
When you've installed Drupal from CVS, to update between minor versions use this command:
cvs up -r DRUPAL-6-15
This is more of a note to self than anything, but I came across a command to do a recursive get. It doesn't work with sftp. You have to use scp. Here is and example of the command....
scp -r user@host:/the/path/ .
I was struggling to get mod_xsendfile installed in my local Zend Server CE environment. I finally came across the post at http://iprog.com/posting/2008/04/compiling_mod_xsendfile_for_mac_os_x that reads as follows...
Today I needed to compile mod_xsendfile for OS X on Intel. The standard command for this,
apxs -cia mod_xsendfile.c
resulted in a module that was for i386 only.
Apache on Leopard (untested on Tiger) doesn’t appreciate this, throwing this error:
Welcome! This blog is going to serve as a place where I can talk about fun stuff I'm doing (or have done) related to Drupal. Drupal is an open source content management system that I've been working with for a while now. You can read more about it at http://drupal.org.