Changeset 100286 in webkit


Ignore:
Timestamp:
Nov 15, 2011 8:37:58 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

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):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r100266 r100286  
     12011-11-15  Peter Kasting  <pkasting@google.com>
     2
     3        Handle svn 1.7 when detecting whether a directory is in an svn checkout.
     4        https://bugs.webkit.org/show_bug.cgi?id=72349
     5
     6        Reviewed by Adam Roben.
     7
     8        * Scripts/VCSUtils.pm:
     9        (isSVNDirectory):
     10
    1112011-11-15  Simon Hausmann  <simon.hausmann@nokia.com>
    212
  • trunk/Tools/Scripts/VCSUtils.pm

    r94746 r100286  
    250250{
    251251    my ($dir) = @_;
    252 
    253     return -d File::Spec->catdir($dir, ".svn");
     252    return system("cd $dir && svn info > " . File::Spec->devnull() . " 2>&1") == 0;
    254253}
    255254
Note: See TracChangeset for help on using the changeset viewer.