Created
February 24, 2010 17:05
-
-
Save baroquebobcat/313621 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #------------------------------------------------- | |
| # I hope I don't have to use cvs w/ capistrano again, but if I do | |
| # this makes capistrano always checkout head of the cvs repo even | |
| # if it is not in the same subdirectory as the code it checks out. | |
| # ensure capistrano just pulls HEAD rather than | |
| # trying to figure out the latest checkout. | |
| require 'capistrano/recipes/deploy/scm' | |
| require 'capistrano/recipes/deploy/scm/base' | |
| require 'capistrano/recipes/deploy/scm/cvs' | |
| class Capistrano::Deploy::SCM::Cvs < ::Capistrano::Deploy::SCM::Base | |
| def query_revision x,&block | |
| "HEAD" | |
| end | |
| end | |
| #------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment