1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Fix typo in Perforce SCM module

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2007-06-15 21:12:30 +00:00
parent 9d7f47b87f
commit 162df7bfd7
2 changed files with 3 additions and 1 deletions

View file

@ -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]

View file

@ -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