Mercurial > gemma
comparison pkg/imports/agm.go @ 2853:adf355aaef57
Ignore predicted values in AGM diff.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 28 Mar 2019 17:18:01 +0100 |
parents | 6d4f361c36e8 |
children | 928cdc06ff37 |
comparison
equal
deleted
inserted
replaced
2852:0bca55dde5f2 | 2853:adf355aaef57 |
---|---|
505 oldValueMax, | 505 oldValueMax, |
506 oldDateInfo, | 506 oldDateInfo, |
507 oldSourceOrganization, | 507 oldSourceOrganization, |
508 ) | 508 ) |
509 // Ignore if there is no diff. | 509 // Ignore if there is no diff. |
510 if !n.hasDiff(o) { | 510 if o.Predicted || !n.hasDiff(o) { |
511 continue | 511 continue |
512 } | 512 } |
513 ase.Versions = []*agmLine{o, n} | 513 ase.Versions = []*agmLine{o, n} |
514 } | 514 } |
515 entries = append(entries, ase) | 515 entries = append(entries, ase) |