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

svn_load_dirs doesn't support filenames with @ in

From: <jon_at_beniston.com>
Date: Tue, 21 Aug 2018 09:40:47 +0100

Hi,

 

It seems svn_load_dirs.pl doesn't support filenames with @ in. You get an
error such as:

 

'star_at_2x.png': a peg revision is not allowed here

 

This patch adds @ to the end of the filename, to make it work.

 

Cheers,

Jon

 

--- svn_load_dirs.pl.in.old.txt 2018-08-21 09:33:02.557893300 +0100

+++ svn_load_dirs.pl.in 2018-08-21 09:33:12.339005700 +0100

@@ -1203,6 +1203,12 @@ while (defined (my $load_dir = &get_next

                 print $handle $property_value;

                 close($handle);

 

+ # Check for filenames containing svn rev character @. If it

+ # contains one, add @ to end of filename

+ if (index($add_file, '@') != -1) {

+ $add_file = $add_file . '@';

+ }

+

                 read_from_process($svn,

                                   'propset',

                                   $property_name,

 
Received on 2018-08-21 11:21:07 CEST

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.