changeset 4032:2fcfae3daa7d

Backed out changeset 82037bbd2c7c As long as we do an INSERT also for every line without changes, a review remains necessary to remove those entries from the staging area.
author Tom Gottfried <tom@intevation.de>
date Tue, 23 Jul 2019 14:58:56 +0200
parents 4bf1c8d91bac
children 4f2f34f5d14d
files pkg/imports/agm.go
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/imports/agm.go	Tue Jul 23 13:16:41 2019 +0200
+++ b/pkg/imports/agm.go	Tue Jul 23 14:58:56 2019 +0200
@@ -499,9 +499,6 @@
 		entries = append(entries, ase)
 	}
 
-	if len(entries) == 0 {
-		return nil, UnchangedError("No entries with changes")
-	}
 	feedback.Info("Imported %d entries with changes", len(entries))
 	feedback.Info("Importing approved gauge measurements took %s",
 		time.Since(start))