Commit 00ff6b01 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

Revert "[node] reset node checkout on v8 update"

This reverts commit ccfa4ca7.

Reason for revert: Infra supports this now.

Original change's description:
> [node] reset node checkout on v8 update
> 
> This is a temporary measure to get bots back in order.
> 
> Bug: chromium:860430
> 
> TBR=machenbach@chromium.org
> 
> Change-Id: I3275150f4bc5dfe8ab90984e15f8a1a469d70caf
> Reviewed-on: https://chromium-review.googlesource.com/1127166
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Commit-Queue: Yang Guo <yangguo@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#54269}

TBR=machenbach@chromium.org,yangguo@chromium.org

Change-Id: I6a74ab702fd32b278caebb665be6868b4712dffb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:860430
Reviewed-on: https://chromium-review.googlesource.com/1127721Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54287}
parent 1299ba96
......@@ -81,12 +81,6 @@ def CommitPatch(options):
cwd=options.v8_path,
)
def ResetTarget(path):
"""Temporarily use this to clear the checkout on the bots"""
print ">> Resetting Node.js checkout"
subprocess.check_call(["git", "reset", "--hard"], cwd=path)
subprocess.check_call(["git", "clean", "-fxd"], cwd=path)
def UpdateTarget(repository, options, files_to_keep):
source = os.path.join(options.v8_path, *repository)
target = os.path.join(options.node_path, TARGET_SUBDIR, *repository)
......@@ -174,7 +168,6 @@ def Main(args):
if options.gclient:
RunGclient(options.v8_path)
# Commit patch on trybots to main V8 repository.
ResetTarget(options.node_path)
if options.with_patch:
CommitPatch(options)
# Update main V8 repository.
......
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