subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@beniston.com>
Subject svn_load_dirs doesn't support filenames with @ in
Date Tue, 21 Aug 2018 08:40:47 GMT
Hi,

 

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

 

'star@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,

 


Mime
View raw message