diff options
Diffstat (limited to 'WebKitTools/Scripts/do-file-rename')
-rwxr-xr-x | WebKitTools/Scripts/do-file-rename | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/WebKitTools/Scripts/do-file-rename b/WebKitTools/Scripts/do-file-rename index ac5099e..b81b9dc 100755 --- a/WebKitTools/Scripts/do-file-rename +++ b/WebKitTools/Scripts/do-file-rename @@ -29,10 +29,11 @@ # Script to do file renaming. use strict; +use File::Find; use FindBin; use lib $FindBin::Bin; use webkitdirs; -use File::Find; +use VCSUtils; setConfiguration(); chdirWebKit(); @@ -86,7 +87,7 @@ for my $file (sort @paths) { if ($newFile{$file}) { my $newFile = $newFile{$file}; print "Renaming $file to $newFile\n"; - system "svn move $file $newFile"; + scmMoveOrRenameFile($file, $newFile); } } |