Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'yd/use-test-config-unconfig'
[gitweb.git]
/
perl
/
Git
/
SVN
/
Ra.pm
diff --git
a/perl/Git/SVN/Ra.pm
b/perl/Git/SVN/Ra.pm
index 049c97bfafac143e552f2e8ddb988292a6328df2..6a212eb7a8182acc00eb597d2100310b7855738a 100644
(file)
--- a/
perl/Git/SVN/Ra.pm
+++ b/
perl/Git/SVN/Ra.pm
@@
-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;