Versions 192 to 193
new file, 144 lines
4+
13+
17+ "Merge queue: check publishes in batches (#39)\n\nCap the batch at 8.\n\ngit 4e1a7c2b9f03, Ada Lovelace, 2026-10-06T20:36:43-05:00";
18+
28+
33+
40+ writeFileSync(join(dir, "queue.ts"), "export function take(w) {\n\tconst n = Math.min(4, w);\n\treturn n;\n}\n");
54+ writeFileSync(join(dir, "queue.ts"), readFileSync(join(dir, "queue.ts"), "utf8").replace(from, to));
64+
66+ it("leads with the change that said what the line does, and says which formatting change it skipped", async () => {
71+ assert.match(r.out, /^Written by imp \(.*\), pushed in version 1 by imp \(.*\): "Merge queue: check publishes/m);
72+ assert.doesNotMatch(r.out, /pushed in version 1 [^\n]*git d9cf/, "the git line is said once, below");
73+ assert.match(r.out, /^ {2}From git: commit 4e1a7c2b9f03 by Ada Lovelace, 2026-10-06T20:36:43-05:00\.$/m);
75+ assert.match(r.out, /^Skipped 1 formatting change since: version 2 \(imp, "Format the code"\)\./m);
78+ /^Earlier changes, newest first:\n {2}version 0 by init .*"Start the project"\n {4}It read: const n = Math\.min\(4, w\);$/m,
81+
82+ it("--all leads with the newest change, formatting or not; --at reads an older version", async () => {
89+ /^ {2}version 1 by imp .*"Merge queue: check publishes in batches \(#39\)", from git commit 4e1a7c2b9f03 by Ada Lovelace$/m,
96+
103+ /^ {2}v1 by imp, .*: Merge queue: check publishes in batches \(#39\) \(from git commit 4e1a7c2b9f03 by Ada Lovelace\)$/m,
107+
110+ assert.deepEqual(gitOrigin({ message: `${IMPORTED}\nIssues: https://github.com/o/r/issues` }), {
122+ assert.deepEqual(gitOrigin({ message: "Plain", commit: "abc1234", author: "Cy" }, "https://x/issues"), {
130+
133+ assert.deepEqual(issueLinks("(#39)", "https://g/o/r/issues"), ["#39 is https://g/o/r/issues/39"]);
136+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 192 193 client/test/why-trail.test.ts --json
- JSON
- /christopher/abso-core/compare/192..193?file=client%2Ftest%2Fwhy-trail.test.ts&format=json