()
| 242 | return failures |
| 243 | |
| 244 | def getLocalGitBranch(): |
| 245 | origGitBranch = runOutput('git rev-parse --abbrev-ref HEAD') |
| 246 | if origGitBranch == 'HEAD': # In detached HEAD state |
| 247 | origGitBranch = runOutput('git rev-parse HEAD') # Use the SHA when not on a branch |
| 248 | print('[repro] Initial local git branch/revision: %s' % origGitBranch) |
| 249 | return origGitBranch |
| 250 | |
| 251 | def main(): |
| 252 | config = readConfig() |