--- a/tests/test-status-color.t Sat Oct 04 17:22:22 2014 +0900
+++ b/tests/test-status-color.t Fri Oct 03 19:47:57 2014 -0400
@@ -152,6 +152,11 @@
[log.date|date: Thu Jan 01 00:00:00 1970 +0000]
[log.summary|summary: initial checkin]
+Labels on empty strings should not be displayed, labels on custom
+templates should be.
+
+ $ hg log --color=debug -T '{label("my.label",author)}\n{label("skipped.label","")}'
+ [my.label|test]
$ touch modified added unknown ignored
$ hg add added
$ hg remove removed