Versions 57 to 318
Lines 3–103 at 318 (were 3–11 at 57)
79
13+ const repo = Repo.init({ "long.txt": "line\n".repeat(count), "a.txt": "move\n", "b.txt": "base\n" });
26+ assert.equal(retained(2048), retained(512), "file-location retained state must not grow with ancestry depth");
33+ repo.edit({ edits: Array.from({ length: count }, (_, i) => ({ file: `old-${i}.txt`, old: "gone\n", new: "" })) });
37+ assert.equal(view.knownPaths().length, count + 1, "explicit historical enumeration is preserved");
40+ assert.equal(retained(200), retained(20), "deleted path count must not grow current-view retained state");
73+ for (let i = 1; i <= 40; i++) repo.edit({ edits: [{ file: "a.txt", old: `${i - 1}\n`, new: `${i}\n` }] });
76+ for (let i = 41; i <= 80; i++) repo.edit({ edits: [{ file: "a.txt", old: `${i - 1}\n`, new: `${i}\n` }] });
78+ assert.equal(second.weight(), weight, "membership resident size does not increase with historical atom count");
81+ assert.equal(second.weight(), first.weight(), "current text retains visible lines, not historical tombstones");
85+ assert.ok(second.weight() > currentWeight, "explicit history reads may retain their requested sequence");
92+ for (let i = 1; i <= 257; i++) repo.edit({ edits: [{ file: "f.txt", old: `${i - 1}\n`, new: `${i}\n` }] });
Lines 134–142 at 318 (were 42–49 at 57)
45− ["a0", p.id, q.id].sort((a, b) => Number(a.slice(1)) - Number(b.slice(1))),
48141
49142 it("puts a line's replacements ahead of the lines inserted after it, whatever their priority", () => {
Lines 171–177 at 318 (were 78–84 at 57)
81− graph.add(buildBase({ "big.txt": big.join("\n") + "\n" }, { author: "import", message: "big" }));
174+ graph.add(buildBase({ "big.txt": `${big.join("\n")}\n` }, { author: "import", message: "big" }));
Lines 184–265 at 318 (were 91–94 at 57)
187+
193+
202+
208+
216+
225+
253+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 57 318 src/engine/test/view.test.ts --json
- JSON
- /christopher/abso-core/compare/57..318?file=src%2Fengine%2Ftest%2Fview.test.ts&format=json