Skip to content

Commit

Permalink
Make script/plugin work with svn+ssh urls. [#662 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information
azimux authored and tarmo committed Aug 24, 2008
1 parent c2f1918 commit 5f732b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/commands/plugin.rb
Expand Up @@ -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|
Expand Down

0 comments on commit 5f732b9

Please sign in to comment.