Thanks again to Larry and Andrew for their responses: really helpful! Just thought I'd let folks know that I've updated/upgraded the list of commands on the Drush handbook page <http://drupal.org/node/477684>. I've also created a printer friendly pdf of that list since since it's nice to have printed cheat sheets for command-line stuff. The pdf is at: http://drupal.org/files/drush-cheat-sheet.pdf The handbook page is at: http://drupal.org/node/477684 Best, Shai On Wed, Nov 25, 2009 at 12:56 AM, Larry Garfield <larry@garfieldtech.com>wrote:
Possibly. Or svn ignore. Unfortunately as far as I know you can't set a server-wide ignore list, so I've never bothered to set it up for all of our developers. (Some may have done it themselves. I'm not sure.) For my part I do nearly everything from the Linux command line ssh'ed into the dev server, so it's rarely an issue for me. :-)
On Tuesday 24 November 2009 8:07:56 pm Shai Gluskin wrote:
Thanks Larry and Andrew!
Larry, can you use --exclude to deal with the OS X crap?
Shai
On Tue, Nov 24, 2009 at 8:38 PM, larry@garfieldtech.com <
larry@garfieldtech.com> wrote:
SVN isn't quite as bad for this as you make it out to be. :-) You can do:
svn add --force sites/all/modules
and it will recursively add any files under that directory that it doesn't already know about. Be careful of ._ files and similar crap that OS X may create. :-)
That's actually my usual workflow at this point. Drush dl to grab new modules, drush update to update a module, followed by the svn command above and then commit. It doesn't handle file deletes or major file reorganization, but those are quite rare.
And I almost never check out a module straight from CVS. If I want a dev version, you can tell Drush to get that for you.
--Larry Garfield
Shai Gluskin wrote:
I get modules from d.o. from CVS, then I commit them to my own repository with SVN.
When updating modules I've doing SVN del, CVS co, SVN add instead of simply CVS up because of orphaned and new files. SVN freaks out over orphans and the new files are just a pain since you need to SVN add for each one.
But I just installed Drush and I'm so excited about making all this easy. So I'm motivated to finally ask for help around this.
So if you commit CVS versions of contrib to SVN, what is your method for dealing with orphans and new files?
Thanks,
Shai
-- Larry Garfield larry@garfieldtech.com