Mercurial support for cap2

0 views
Skip to first unread message

Marcus Ahnve

unread,
May 16, 2007, 5:02:22 AM5/16/07
to capis...@googlegroups.com
As I unintentionally just revealed, I've written a Mercurial plugin for cap2.

Place it next to the others in the 'scm' folder, add 'set :scm,
:mercurial' to the recipe file and yo should be good to go.

One thing I'd like to point out is that the revision to deploy is set
to your local tip. If you forget to push it to the server, cap deploy
will fail and rollback, a behavior I find preferable than simply
retreiving the latest version, which might not be what you intended.
This was the case for the previous Mercurial plugin as well, but all
you Subversion people might not be aware of it :).

Cheers /Marcus
--
http://marcus.ahnve.net

mercurial.rb

mae

unread,
May 28, 2007, 10:37:57 PM5/28/07
to Capistrano
Marcus I went off of Tobias skeleton and beefed it up based on my old
plugin. I also took some changes from your upload.
Here is the repository, please try it out! See if user/password works
for you (i use ssh keys).

http://tackletechnology.org/oss/cap2-mercurial

--Matt

> mercurial.rb
> 2KDownload

Reply all
Reply to author
Forward
0 new messages