Commit a78e553b authored by jochen@chromium.org's avatar jochen@chromium.org

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
parent cc475723
......@@ -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)
......
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