j***@beniston.com
2018-08-21 08:40:47 UTC
Hi,
It seems svn_load_dirs.pl doesn't support filenames with @ in. You get an
error such as:
'***@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,
It seems svn_load_dirs.pl doesn't support filenames with @ in. You get an
error such as:
'***@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,