dtu 944b60530e Fix per-file owners check for deleted files.
Previously if you deleted a file that you had per-file owners on, it would fail
the owners check. This fixes that.

Originally, owners.Database used glob to enumerate the directory and added all
the matching files in the directory to some dicts holding the owners
information. If a CL deleted a file, it'd no longer be on the filesystem, so it
wouldn't be in these dicts. There'd be no per-file owners information for it.

With this patch, the Database no longer enumerates individual files. It instead
keeps track of the glob patterns and checks the CL's files against the patterns
at lookup time.

BUG=622381
TEST=tests/owners_unittest.py && tests/owners_finder_test.py  # Unit test included.

Review-Url: https://codereview.chromium.org/2148153002
2016-07-14 14:48:21 -07:00
2016-05-27 21:39:32 +00:00
2016-07-14 08:01:34 -07:00
2013-05-04 00:45:09 +00:00
2012-03-23 19:33:18 +00:00
2012-03-23 19:33:18 +00:00
2011-09-27 23:38:46 +00:00
2011-09-27 23:38:46 +00:00
2015-07-17 22:05:19 +00:00
2015-07-17 22:05:19 +00:00
2016-07-14 13:00:00 -07:00
2011-09-27 23:38:46 +00:00
2012-12-17 18:20:02 +00:00
2012-03-23 19:33:18 +00:00
2016-06-21 07:47:00 -07:00
2016-05-27 18:42:17 +00:00
2016-02-09 21:53:35 +00:00
2015-05-27 18:26:46 +00:00
2016-05-16 17:54:40 +00:00
2013-11-01 22:58:54 +00:00
2016-06-06 16:26:23 -07:00
2011-09-27 23:38:46 +00:00
2012-09-12 21:02:02 +00:00

This package contains tools for working with Chromium development.

The "gclient" wrapper knows how to keep this repository updated to
the latest versions of these tools as found at:

    https://chromium.googlesource.com/chromium/tools/depot_tools/+/master/gclient.py

This package contains:

  chrome-update-create-task.bat
    Creates a scheduled task to do an automatic local chromium build every day.

  cpplint.py
    A copy of our linting tool which enforces Google style. Fetched from
    http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

  gcl
    A tool for uploading and managing code reviews on the Chromium
    project, using the Rietveld code review tool.  More info at:
    http://code.google.com/p/rietveld/

  gclient
    A script for managing a workspace with modular dependencies that
    are each checked out independently from different repositories.
    More info at:
    http://code.google.com/p/gclient/

Note: svn and python will be installed automatically if not accessible (on
Windows only).

To update this distribution manually, run .\update_depot_tools.bat on Windows,
or ./update_depot_tools on Linux or Mac.

To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0
Description
No description provided
Readme BSD-3-Clause 210 MiB
Languages
Python 97.1%
Shell 1.1%
Roff 1.1%
Batchfile 0.7%