The refactoring of the directory tree doesn't really have anything to  
do with your capfile. You need to do that first, by moving  
directories around and such, and then when it is all refactored so  
that everything that you want to deploy (and nothing that you don't)  
lives under a single directory, you set your :repository variable to  
point at that directory in your repository.

Incidentally, I see that you're putting the --password switch in  
your :checkout variable, directly. It's better to use the  
svn_password variable (scm_password, if you're using cap2):

   set :svn_password, "abcd"

Same effect, but cleaner looking.

- Jamis

On May 14, 2007, at 6:05 PM, Mike Papper wrote:

>
> Can you elaborate on the syntax as-used in the deploy.rb file?
>
> I am using "export to deploy from SVN, as such:
>
> set :checkout, "export --password 'abcd'"
>
> Mike
>
> Jamis Buck wrote:
>> Mark,
>>
>> Because capistrano assumes everything under the project directory is
>> deployable, the easiest "fix" might be to rearrange your directory
>> tree so that the doc directory is elsewhere, e.g.:
>>
>>    * source
>>      - doc
>>      - trunk
>>
>> And then you deploy source/trunk.
>>
>> - Jamis
>>
>> On Apr 25, 2007, at 9:23 AM, maui wrote:
>>
>>> Hi everyone,
>>>
>>> The /doc directory is getting quite large in our project which is
>>> causing a huge file transfer every time we deploy.  Is there an easy
>>> way to exclude certain directories from a deployment?
>>>
>>> Thanks,
>>>
>>> Mark
>>>
>>>
>>
>>
>>>
>>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to