From 162df7bfd74cf40a190767a255d8360b982c75aa Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Fri, 15 Jun 2007 21:12:30 +0000 Subject: [PATCH] Fix typo in Perforce SCM module git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- CHANGELOG | 2 ++ lib/capistrano/recipes/deploy/scm/perforce.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 17910d44..5b501169 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fix typo in Perforce SCM module [Chris Bailey] + * ssh_options < server options when connecting [Jamis Buck] * Logger defaults to $stderr instead of STDERR [lhartley] diff --git a/lib/capistrano/recipes/deploy/scm/perforce.rb b/lib/capistrano/recipes/deploy/scm/perforce.rb index ee4969fd..7112ca39 100644 --- a/lib/capistrano/recipes/deploy/scm/perforce.rb +++ b/lib/capistrano/recipes/deploy/scm/perforce.rb @@ -54,7 +54,7 @@ module Capistrano def query_revision(revision) return revision if revision.to_s =~ /^\d+$/ - command = scm(authentication, :changes, "-s submitted", "-m 1", "//#{p4client}/...#{revno(revision)}") + command = scm(authentication, :changes, "-s submitted", "-m 1", "//#{p4client}/...#{rev_no(revision)}") yield(command)[/Change (\d+) on/, 1] end