Browse Source

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
maint
Junio C Hamano 12 years ago
parent
commit
ccf23370aa
  1. 2
      perl/Git/SVN/Ra.pm

2
perl/Git/SVN/Ra.pm

@ -295,7 +295,7 @@ sub gs_do_switch { @@ -295,7 +295,7 @@ sub gs_do_switch {
my $full_url = add_path_to_url( $self->url, $path );
my ($ra, $reparented);

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

Loading…
Cancel
Save