Don't delete trees that have an exact match in entries either

BUG=171212
TEST=v8 builders don't delete their checkout
R=maruel@chromium.org


Review URL: https://chromiumcodereview.appspot.com/12764004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@187285 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
jochen@chromium.org 12 years ago
parent cc47572376
commit a78e553bf7

@ -1136,7 +1136,8 @@ solutions = [
for path in path_list)
# Use entry and not entry_fixed there.
if ((not any(path.startswith(entry + '/') for path in entries)) and
if (entry not in entries and
(not any(path.startswith(entry + '/') for path in entries)) and
os.path.exists(e_dir)):
file_list = []
scm = gclient_scm.CreateSCM(prev_url, self.root_dir, entry_fixed)

Loading…
Cancel
Save