(path)
| 48 | |
| 49 | |
| 50 | def CheckRepoIsInspectorProtocolCheckout(path): |
| 51 | os.chdir(path) |
| 52 | revision = RunCmd(['git', 'config', '--get', 'remote.origin.url']).strip() |
| 53 | if (revision != 'https://chromium.googlesource.com/deps/inspector_protocol.git'): |
| 54 | raise Exception('%s is not a proper inspector_protocol checkout: %s' % (path, revision)) |
| 55 | |
| 56 | |
| 57 | def FindFilesToSyncIn(path): |