Re: [PATCH] git-svn: Support custom tunnel schemes instead of SSH only
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Mar 27, 2013, 04:32 UTC
- Message-ID
- <20130327043255.GA3667@dcvr.yhbt.net>
- In-Reply-To
- <51521216.2050309@gmail.com>
Sebastian Schuberth <sschuberth@gmail.com> wrote:
Show 6 quoted lines
> This originates from an msysgit pull request, see: > > https://github.com/msysgit/git/pull/58 > > Signed-off-by: Eric Wieser <wieser.eric@gmail.com> > Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Thanks, looks obviously correct.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Show 14 quoted lines
> diff --git a/perl/Git/SVN/Ra.pm b/perl/Git/SVN/Ra.pm
> index 049c97b..6a212eb 100644
> --- 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;
> -- Junio:
The following changes since commit 2bba2f0e6542d541e9f27653d8c9d5fc8d0e679c:
More topics from the second batch for 1.8.3 (2013-03-26 13:16:11 -0700)
are available in the git repository at:
git://git.bogomips.org/git-svn.git master
for you to fetch changes up to 3747c015704399dea1aa7ae6569a507e5727e20b:
git-svn: Support custom tunnel schemes instead of SSH only (2013-03-27 04:28:04 +0000)
----------------------------------------------------------------
Sebastian Schuberth (1):
git-svn: Support custom tunnel schemes instead of SSH onlyperl/Git/SVN/Ra.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)