Convert the output of "git rev-parse --short HEAD" to a string before
substituting it into the output file. Without this the output file
will look like this on Python 3:
#define LLVM_REVISION "git-b'6a4895a025f'"
Differential D56459
gn build: Fix a Python2ism in write_vcsrevision.py. pcc on Jan 8 2019, 3:56 PM. Authored by
Details Convert the output of "git rev-parse --short HEAD" to a string before #define LLVM_REVISION "git-b'6a4895a025f'"
Diff Detail
|