Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
commit 5f732b93ac4f56b4ae00b81d3dc39f0e93e63b85 1 parent c2f1918
Miles Georgi azimux authored tarmo committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/commands/plugin.rb
2  railties/lib/commands/plugin.rb
View
@@ -890,7 +890,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|
Please sign in to comment.
Something went wrong with that request. Please try again.