594
603
// firstTag returns the hash and tag of the most recent tag matching re.
595
604
func firstTag(re *regexp.Regexp) (hash string, tag string, err os.Error) {
596
605
o, _, err := runLog(nil, "", goroot, "hg", "tags")
597
for _, l := range strings.Split(o, "\n", -1) {