RESOLVED FIXED72349
VCSUtils.pm doesn't handle svn 1.7 correctly
https://bugs.webkit.org/show_bug.cgi?id=72349
Summary VCSUtils.pm doesn't handle svn 1.7 correctly
Peter Kasting
Reported 2011-11-14 20:19:58 PST
$isSVNDirectory fails on svn 1.7 in non-root directories because svn 1.7 eliminates the .svn subdirectories everywhere but the root. I'm going to fix this by blindly copying the git code, which instead shells out to git to do the work, and adapt it to use "svn info".
Attachments
patch v1 (1.00 KB, patch)
2011-11-14 20:22 PST, Peter Kasting
no flags
Peter Kasting
Comment 1 2011-11-14 20:22:21 PST
Created attachment 115089 [details] patch v1 This seems to work on my machine (tested both positively and negatively). Did not test on svn 1.6 or below.
Adam Roben (:aroben)
Comment 2 2011-11-15 06:33:14 PST
Comment on attachment 115089 [details] patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=115089&action=review > Tools/Scripts/VCSUtils.pm:252 > + return system("cd $dir && svn info > " . File::Spec->devnull() . " 2>&1") == 0; I wonder if this will cause problems for folks using native Win32 Perl?
Adam Roben (:aroben)
Comment 3 2011-11-15 06:33:43 PST
Simon, any idea if this will be a problem for Qt/Win?
Simon Hausmann
Comment 4 2011-11-15 07:12:24 PST
(In reply to comment #3) > Simon, any idea if this will be a problem for Qt/Win? Don't think so :)
WebKit Review Bot
Comment 5 2011-11-15 08:38:13 PST
Comment on attachment 115089 [details] patch v1 Clearing flags on attachment: 115089 Committed r100286: <http://trac.webkit.org/changeset/100286>
WebKit Review Bot
Comment 6 2011-11-15 08:38:19 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.