Permalink
Browse files

Make script/plugin work with svn+ssh urls. [#662 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
1 parent c67713a commit 92f944818eece9fe4bc62ffb39accdb71ebc32be @azimux azimux committed with lifo Jul 19, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/commands/plugin.rb
@@ -907,7 +907,7 @@ def initialize(urls_to_fetch, level = 1, cwd = ".")
def ls
@urls_to_fetch.collect do |url|
- if url =~ /^svn:\/\/.*/
+ if url =~ /^svn(\+ssh)?:\/\/.*/
`svn ls #{url}`.split("\n").map {|entry| "/#{entry}"} rescue nil
else
open(url) do |stream|

0 comments on commit 92f9448

Please sign in to comment.