found the problem in query_revision method in subversion.rb had been fixed in a new release of capistrano. patched and now it works as expected.
On Jan 27, 9:13 am, Chris <[email protected]> wrote: > I have an issue where I am trying to deploy a tag from subversion but > the svn checkout is using an old revision and I am not getting all the > code from the repository. we use webistrano 1.4 as a front end to > capistrano 2.5.0. > > I have a before_update_code recipe which calls another recipe that > sets the :repository value to either trunk or tag URL, however, in the > output I am seeing a revision passed to checkout that is not the > revision of the tag, but is actually the latest revision from trunk. > > * executing `deploy' > * executing `deploy:update' > ** transaction: start > * executing `deploy:update_code' > * executing `deploy:before_update_code' > * executing `deploy:set_repository' > * executing "svn checkout -q --username XXXXX --password XXXXXXXX -- > no-auth-cache -r3472 svn+ssh://server/usr/local/svn/repos/xxx/tags/ > 20100126-1-r1.7.2-feature-development /home/deploy/webapps/xxx_qa/ > releases/20100126191710 && (echo 3472 > /home/deploy/webapps/xxx_qa/ > releases/20100126191710/REVISION)" > > so this is the actual output (names changed to protect the innocent). > > tag => 20100126-r1.7.2-feature-development > -r3472 => last revision in trunk (-r3479 would the revision of the tag > when it was created) > > so what happens is i end up with a code deploy from the tag, but only > up to revision 3472 and not 3479, which is what it should be. > > any ideas on what is going on here or why it would grab the revision > of trunk when deploying a tag? i do have :repository set as a default > value of trunk before it gets set in the set_repository recipe. -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
