Handle svn 1.7 when detecting whether a directory is in an svn checkout.

https://bugs.webkit.org/show_bug.cgi?id=72349

Patch by Peter Kasting <pkasting@google.com> on 2011-11-15
Reviewed by Adam Roben.

* Scripts/VCSUtils.pm:
(isSVNDirectory):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent dba3b139
2011-11-15 Peter Kasting <pkasting@google.com>
Handle svn 1.7 when detecting whether a directory is in an svn checkout.
https://bugs.webkit.org/show_bug.cgi?id=72349
Reviewed by Adam Roben.
* Scripts/VCSUtils.pm:
(isSVNDirectory):
2011-11-15 Simon Hausmann <simon.hausmann@nokia.com>
[Qt] Centralize hide_symbols and ensure all libs are built with symbol visibility & bsymbolic_functions
......@@ -249,8 +249,7 @@ sub isGitBranchBuild()
sub isSVNDirectory($)
{
my ($dir) = @_;
return -d File::Spec->catdir($dir, ".svn");
return system("cd $dir && svn info > " . File::Spec->devnull() . " 2>&1") == 0;
}
sub isSVN()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment