Jamis Buck wrote: > On Jan 23, 2007, at 2:42 PM, S. Robert James wrote: > > > > > I would suggest to versions of cached_repository: > > > > 1. Incremental. > > 2. Clean (rm -rf and sync everything from the beginning). > > Could you elaborate on the difference between these?
Sure. #1 asks the SCM to check out whatever files have been changed since the last check out. It's much quicker than #2, since it only checks out files which have been changed. #2 erases the check out dir, and rechecks out everything. It may take a few more seconds, but it guarantees the dir is identical to the way it is supposed to be. This is especially helpful when you are doing some type of post processing after the check out (like I mentioned earlier - generating some files, compressing JavaScript, etc.). It also comes in handy when things don't seem to be working right, or when looking at a deployment you haven't touched in a while and not sure whose fiddled with what (alas, it happens more often than we'd like, once your app grows old...). Similar to make verus make clean && make. --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
