Perf dashboard shouldn't show the full git hash
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jul 2014 04:59:32 +0000 (04:59 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Jul 2014 04:59:32 +0000 (04:59 +0000)
commit14026cf1e9043a35c96bf78091357dd1aa043a32
treea9addfab8e8acd49728b933648eb7ad496d068bf
parent2a5c5873d4a8edd099a4d46fbc03aaa66edd0ac5
Perf dashboard shouldn't show the full git hash
https://bugs.webkit.org/show_bug.cgi?id=135083

Reviewed by Benjamin Poulain.

Detect Git/Mercurial hash by checking the length.

If it's a hash, use the first 8 characters in the label
while retaining the full length to be used in hyperlinks.

* public/js/helper-classes.js:
(.this.formattedRevisions):
(TestBuild):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/js/helper-classes.js