Commit 7f5acfb2 authored by Andrew Gerrand's avatar Andrew Gerrand

misc/dashboard/builder: talk to hg with utf-8 encoding always.

Fixes #1465.

R=rsc
CC=golang-dev
https://golang.org/cl/4172063
parent bd44684f
......@@ -46,7 +46,12 @@ func getCommit(rev string) (c Commit, err os.Error) {
func getCommitParts(rev string) (parts []string, err os.Error) {
const format = "{rev}>{node}>{author|escape}>{date}>{desc}"
s, _, err := runLog(nil, "", goroot,
"hg", "log", "-r", rev, "-l", "1", "--template", format)
"hg", "log",
"--encoding", "utf-8",
"--rev", rev,
"--limit", "1",
"--template", format,
)
if err != nil {
return
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment