Skip to content

Commit ccf2337

Browse files
committed
Merge branch 'master' of git://git.bogomips.org/git-svn
* 'master' of git://git.bogomips.org/git-svn: git-svn: Support custom tunnel schemes instead of SSH only
2 parents e96a3b3 + 3747c01 commit ccf2337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perl/Git/SVN/Ra.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ sub gs_do_switch {
295295
my $full_url = add_path_to_url( $self->url, $path );
296296
my ($ra, $reparented);
297297

298-
if ($old_url =~ m#^svn(\+ssh)?://# ||
298+
if ($old_url =~ m#^svn(\+\w+)?://# ||
299299
($full_url =~ m#^https?://# &&
300300
canonicalize_url($full_url) ne $full_url)) {
301301
$_[0] = undef;

0 commit comments

Comments
 (0)