snapshot: newest -> latest

This commit is contained in:
Ryan Uber
2014-04-22 01:51:33 -07:00
parent 60d48e890c
commit 133d67bffa
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -296,8 +296,8 @@ func (l *PackageRefList) Merge(r *PackageRefList, overrideMatching bool,
nameL, archL, verL := partsL[0][1:], partsL[1], partsL[2]
pkgL := string(nameL) + "." + string(archL)
// If we've already seen this package, regardless of version,
// just skip it.
// If we've already seen this package, check if this version is
// newer. If it is, replace the older ref.
if _, ok := refs[pkgL]; ok {
vres := CompareVersions(string(verL), string(refs[pkgL]))
if vres <= 0 {