GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: fix inspector_protocol updater · nodejs/node@a507308

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/inspector_protocol
    • roll.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/inspector_protocol/roll.py‎

Copy file name to clipboardExpand all lines: tools/inspector_protocol/roll.py
-12Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ def CheckRepoIsClean(path):
4747
raise Exception('%s is not a clean git repo (run git status)' % path)
4848

4949

50-
def CheckRepoIsNotAtMainBranch(path):
51-
os.chdir(path)
52-
stdout = RunCmd(['git', 'rev-parse', '--abbrev-ref', 'HEAD']).strip()
53-
if stdout == 'main':
54-
raise Exception('%s is at main branch - refusing to copy there.' % path)
55-
56-
5750
def CheckRepoIsInspectorProtocolCheckout(path):
5851
os.chdir(path)
5952
revision = RunCmd(['git', 'config', '--get', 'remote.origin.url']).strip()
@@ -123,12 +116,7 @@ def main(argv):
123116
downstream = os.path.normpath(os.path.expanduser(
124117
args.node_src_downstream))
125118
CheckRepoIsClean(upstream)
126-
CheckRepoIsClean(downstream)
127119
CheckRepoIsInspectorProtocolCheckout(upstream)
128-
# Check that the destination Git repo isn't at the main branch - it's
129-
# generally a bad idea to check into the main branch, so we catch this
130-
# common pilot error here early.
131-
CheckRepoIsNotAtMainBranch(downstream)
132120

133121
# Read V8's inspector_protocol revision
134122
v8_ip_revision = ReadV8IPRevision(downstream)

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.