135d14574f3d

say 1 save, not 1 saves, in migrate's count-mismatch error; reword a continuity note off git terms (3.2.24)

time
2026-09-29 16:55 UTC · 1 week ago
machine
Junes-MacBook-Pro.local
agent
claude-opus-5-5
session
fix steal save-count plurals
parent
e2124037124f
3 files VERSION+1 −1src/migrate/migrate.v+2 −1v.mod+1 −1
VERSION+1 −1
@@ -1 +1 @@1-3.2.231+3.2.24

view file

src/migrate/migrate.v+2 −1
@@ -14,6 +14,7 @@1414 import os1515 import src.build1616 import src.events17+import src.fmt1718 import src.history1819 import src.snapshot1920 import src.storage@@ -521,7 +522,7 @@521522 fn verify(store &storage.Store, line []Manifest, progress Progress) ! {522523 	imported := history.save_count(store)!523524 	if imported != line.len {524-		return error('imported ${imported} saves, expected ${line.len}')525+		return error('imported ${fmt.plural(int(imported), 'save')}, expected ${line.len}')525526 	}526527 	for n, manifest in line {527528 		progress('checking', n + 1, line.len)

view file

v.mod+1 −1
@@ -1,6 +1,6 @@11 Module {22 	name: 'koh3'3-	version: '3.2.23'3+	version: '3.2.24'44 	description: 'One SQLite file per repo, one line of history.'55 	license: 'MIT'66 }

view file