Merge "Fix 'repo cherry-pick' to avoid hanging on commit-msg update."

This commit is contained in:
David Pursehouse 2015-06-25 14:53:46 +00:00 committed by Gerrit Code Review
commit c5ceeb1625

View File

@ -76,6 +76,7 @@ change id will be added.
capture_stdout = True,
capture_stderr = True)
p.stdin.write(new_msg)
p.stdin.close()
if p.Wait() != 0:
print("error: Failed to update commit message", file=sys.stderr)
sys.exit(1)