Skip to content

Commit

Permalink
Merge branch 'master' of git://git.bogomips.org/git-svn
Browse files Browse the repository at this point in the history
* 'master' of git://git.bogomips.org/git-svn:
  git-svn: Support custom tunnel schemes instead of SSH only
  • Loading branch information
Junio C Hamano committed Mar 27, 2013
2 parents e96a3b3 + 3747c01 commit ccf2337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl/Git/SVN/Ra.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ccf2337

Please sign in to comment.