Including commit information on breakage lockfile

This commit is contained in:
Sergio Durigan Junior 2017-09-08 01:46:22 -04:00
parent a324f18096
commit d5057908ca

View file

@ -229,7 +229,9 @@ subsequent commits are made after X, by different people."""
# This file will be cleaned the next time we run
# MessageGDBTesters, iff the build breakage has been fixed.
open (lockfile, 'w').close ()
bf = open (lockfile, 'w')
bf.write ("Commit that caused the breakage: %s\n" % change.revision)
bf.close ()
rev = change.revision
to = change.who.encode ('ascii', 'ignore').decode ('ascii')