[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Bug in svncopy.pl with svn+ssh://-URLs

From: Ganssauge, Gottfried <Gottfried.Ganssauge_at_haufe.de>
Date: 2005-12-06 17:00:33 CET

 

> -----Original Message-----
> From: Gale, David [mailto:David.Gale@Hypertherm.com]
> Sent: Tuesday, December 06, 2005 4:54 PM
> To: Ganssauge, Gottfried; users@subversion.tigris.org
> Subject: RE: Bug in svncopy.pl with svn+ssh://-URLs
...

> FYI: The patch, as posted, includes your personal location
> for svn and perl. This probably isn't what you'd intended.
Thanks - I realized it the moment I hit the send button but then it
obviously was to late :-(
You are - of course - right.
Can you say anything about the bug I'm describing? Eventually even
something about my fix?
You know, I'm not exactly what you would call a perl specialist :-)

Cheers,

Gottfried

>
> The actual code change is just to the substitution of
> $destdir for $source in $ext_val, which is one line:
>
> @@ -464,7 +464,7 @@
> {
> my $dest_dir = DestinationSubdir( $source,
> $destination );
> #info( "Checking against '$source'\n" );
> - if ( $ext_val =~ s|^$source|$dest_dir| )
> + if ( $ext_val =~ s|^\Q$source|$dest_dir| )
> {
> $external = "$ext_dir$spacing$ext_val";
> info( " - updated '$old_external' to
> '$external'\n" );
>
>
> -David
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 6 17:19:48 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.