{"draft":null,"from":116,"to":318,"files":[{"path":"client/src/versions.ts","added":14,"removed":2,"diff":"--- a/client/src/versions.ts\n+++ b/client/src/versions.ts\n@@ -3,7 +3,18 @@\n \n import type { VersionRef } from \"./api.ts\";\n import { bool, type Parsed, str, UsageError } from \"./args.ts\";\n-import { applyAnswer, collisionText, type Env, EXIT, type Output, open, plural, recordFolder } from \"./commands.ts\";\n+import {\n+\tapplyAnswer,\n+\tcollisionText,\n+\ttype Env,\n+\tEXIT,\n+\ttype Output,\n+\topen,\n+\tplural,\n+\tpullAnswer,\n+\tpullWritten,\n+\trecordFolder,\n+} from \"./commands.ts\";\n import { writeConfig } from \"./config.ts\";\n import { refusedText } from \"./safety.ts\";\n \n@@ -144,7 +155,8 @@\n \t// Sync now (recording first, as sync does), so the folder is where it now says it is.\n \tconst { api } = open(env);\n \tawait recordFolder(root, api);\n-\tconst s = await applyAnswer(root, api, await api.sync());\n+\tconst s = await applyAnswer(root, api, await pullAnswer(root, api));\n+\tpullWritten(root);\n \tconst changes = s.written.length + s.deleted.length;\n \tconst head = follow\n \t\t? `This folder now follows label ${follow}: every pull takes it to the newest version with that label. It is on version ${s.version}.`"}],"unmatched":[]}