From e06c202657e115f001a9f1eece0092d9bcaa1255 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 23 Sep 2014 14:56:02 -0700 Subject: [PATCH] dashboard: use correct hg template for parents The 'parents' field is documented to be blank if there's only one simple parent. We want 'p1node', which is the hex commit of the first parent. LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/142530043 --- dashboard/builder/vcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/builder/vcs.go b/dashboard/builder/vcs.go index 78e8008e..e31c4ce5 100644 --- a/dashboard/builder/vcs.go +++ b/dashboard/builder/vcs.go @@ -202,7 +202,7 @@ type HgLog struct { const xmlLogTemplate = ` {node|escape} - {parents} + {p1node} {author|escape} {date|rfc3339date} {desc|escape}