[development] Getting SVN to deal with orphaned and new files
Shai Gluskin
shai at content2zero.com
Wed Nov 25 04:35:06 UTC 2009
Wow; with drush, as Larry hinted, no need to use CVS versions anymore unless
you've hacked the module. Goodbye cvs_deploy module and lots of CVS files
getting committed to SVN.
But here is my question. Can anyone confirm that what I just described is
not so with Drupal core. Though Drush can download a fresh non CVS install
of Drupal, It isn't able to upgrade Drupal core. So it seems like it still
makes sense to not use Drush for downloading Drupal core, but stick to CVS
for ease of upgrade. Can anyone confirm that is correct?
Shai
On Tue, Nov 24, 2009 at 9:07 PM, Shai Gluskin <shai at content2zero.com> 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 at garfieldtech.com <
> larry at 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
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20091124/f59979d8/attachment.html
More information about the development
mailing list