Is the export just so that you can get a completely clean (e.g. no
embedded SVN folders) set of the current files?
What are the tradeoffs of doing a checkout vs. an export?
Thanks,
Wes
Tradeoffs:
A checkout will be (slightly) larger, and could possibly expose
your .svn directories via HTTP if you don't have the appropriate
rewrite rules to hide them, but it lets you easily deploy simple
changes (template tweaks, CSS tweaks, etc.) by logging in and doing
"svn up". Not a best practice, but sometimes convenience trumps
theoritical purity.
An export will be smaller, and cannot ever expose your .svn metadata
directories, because they don't exist in the export. However, the only
way to deploy changes is to either copy the changes from your local
working copy to the remote servers, or to do a full "cap deploy".
- Jamis
> --~--~---------~--~----~------------~-------~--~----~
> To unsubscribe from this group, send email to capistrano-...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/capistrano
> -~----------~----~----~----~------~----~------~--~---
>
I have a custom task to do a cached export. That is, there is a shared checkout somewhere, and update_code is a fast "svn update", which then exports to the "release" folder. Basically just a performance hack which is otherwise just an export.