On Jan 30, 2008 11:07 PM, Jamis Buck <[EMAIL PROTECTED]> wrote:

> If anyone has the inclination, a patch would be welcome, so long as it
> did not complicate the common case.

Here's what I put together in 10-minutes, for the sake of discussion.
Two things to note:

[1] clearly the hardcoded svn command in this file is unacceptable,
since that logic should reside in the abstract scm layer... I only
know how to do this check for svn though, and wanted a simple patch
for the sake of discussion.

[2] because this check needs to happen after determining if the
repository already exists but before doing an update, I moved the
directory-existence checking logic out of sh and into ruby. Is there
any particular reason that this logic is being done in sh?


John


-- 
John Joseph Bachir
http://blog.johnjosephbachir.org
http://lyceum.ibiblio.org
http://dissent.cc
http://jjb.cc

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

Attachment: remote_cache.rb.diff
Description: Binary data

Reply via email to