Changeset 52501 in webkit


Ignore:
Timestamp:
Dec 22, 2009 2:18:43 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-22 Eric Seidel <eric@webkit.org>

Reviewed by Darin Adler.

validate-committer-lists fails when run from an SVN checkout
https://bugs.webkit.org/show_bug.cgi?id=31974

  • Scripts/validate-committer-lists:
    • Make it print a warning message instead of throwing an exception when running from an SVN checkout.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r52496 r52501  
     12009-12-22  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        validate-committer-lists fails when run from an SVN checkout
     6        https://bugs.webkit.org/show_bug.cgi?id=31974
     7
     8        * Scripts/validate-committer-lists:
     9         - Make it print a warning message instead of throwing
     10           an exception when running from an SVN checkout.
     11
    1122009-12-22  Philippe Normand  <pnormand@igalia.com>
    213
  • trunk/WebKitTools/Scripts/validate-committer-lists

    r51477 r52501  
    3939from modules.committers import CommitterList
    4040from modules.logging import log, error
     41from modules.scm import Git
    4142
    4243# WebKit includes a built copy of BeautifulSoup in Scripts/modules
     
    244245    committer_list = CommitterList()
    245246    CommitterListFromMailingList().check_for_emails_missing_from_list(committer_list)
    246 
     247 
     248    if not Git.in_working_directory("."):
     249        print """\n\nWARNING: validate-committer-lists requires a git checkout.
     250The following checks are disabled:
     251 - List of committers ordered by last commit
     252 - List of historical committers missing from committers.py
     253"""
     254        return 1
    247255    svn_committer_list = CommitterListFromGit()
    248256    svn_committer_list.print_possibly_expired_committers(committer_list)
Note: See TracChangeset for help on using the changeset viewer.