{"draft":null,"from":97,"to":318,"files":[{"path":"client/src/drafts.ts","added":11,"removed":7,"diff":"--- a/client/src/drafts.ts\n+++ b/client/src/drafts.ts\n@@ -19,6 +19,8 @@\n \ttype Output,\n \topen,\n \tplural,\n+\tpullAnswer,\n+\tpullWritten,\n \trecordedFirst,\n \trecordFolder,\n } from \"./commands.ts\";\n@@ -57,9 +59,10 @@\n \tnote(answer.files);\n \tconst switched = await applyAnswer(root, api, answer);\n \t// The switch brings back the space as it was when parked; sync straight away so the folder shows it as it is now (#22).\n-\tconst syncAnswer = await api.sync();\n+\tconst syncAnswer = await pullAnswer(root, api);\n \tnote(syncAnswer.files);\n \tconst synced = await applyAnswer(root, api, syncAnswer);\n+\tpullWritten(root);\n \tconst touched = new Set([...switched.written, ...switched.deleted, ...synced.written, ...synced.deleted]);\n \tconst written: string[] = [];\n \tconst deleted: string[] = [];\n@@ -75,17 +78,17 @@\n \tconst lines = [\n \t\t...recordedFirst(recorded),\n \t\tcarry\n-\t\t\t? `Started ${where}, carrying your unpublished changes into it.`\n-\t\t\t: `Switched to ${where}. Your unpublished changes where you were are parked there, and come back when you switch back.`,\n+\t\t\t? `Started ${where}, carrying your unpushed changes into it.`\n+\t\t\t: `Switched to ${where}. Your unpushed changes where you were are parked there, and come back when you switch back.`,\n \t\t`It is at version ${synced.version}. ${written.length + deleted.length === 0 ? \"No files changed in this folder.\" : `${plural(written.length, \"file\")} updated, ${deleted.length} deleted:`}`,\n \t\t...changedFilesText(\"switch\", written, deleted, [], bool(args, \"verbose\")),\n \t\t...refusedText([...switched.refused, ...synced.refused]),\n \t\t...mergedLinesText([...switched.merged, ...synced.merged]),\n-\t\t...(kept.length > 0 ? [`Left alone because they changed while switching (run abso sync): ${kept.join(\", \")}`] : []),\n+\t\t...(kept.length > 0 ? [`Left alone because they changed while switching (run abso pull): ${kept.join(\", \")}`] : []),\n \t\t...(dropped.length > 0 ? [`Dropped from your draft, kept on disk (these stay local): ${dropped.join(\", \")}`] : []),\n \t\t...(collisions.length > 0 ? [collisionsHeading(collisions), ...collisions.map(collisionText)] : []),\n \t\t...(answer.draft !== null\n-\t\t\t? ['Publish into this draft with abso publish; land it in shared with abso land -m \"why\".']\n+\t\t\t? ['Push into this draft with abso push; land it in shared with abso land -m \"why\".']\n \t\t\t: []),\n \t];\n \treturn {\n@@ -137,7 +140,7 @@\n \t\t\t...pre,\n \t\t\t`Not landed: ${plural(collisions.length, \"collision\")} with work that landed in shared since the draft's base.`,\n \t\t\t...collisions.map(collisionText),\n-\t\t\t\"Run abso draft-sync to move the draft onto shared, settle those lines in the draft, publish, then land again.\",\n+\t\t\t\"Run abso draft-pull to move the draft onto shared, settle those lines in the draft, push, then land again.\",\n \t\t].join(\"\\n\"),\n \t\tjson: { collisions, recorded: recorded.sent },\n \t};\n@@ -148,7 +151,8 @@\n \tconst moved = await api.draftSync();\n \t// Bring the moved draft's new view into this folder straight away.\n \tconst recorded = await recordFolder(root, api);\n-\tconst applied = await applyAnswer(root, api, await api.sync());\n+\tconst applied = await applyAnswer(root, api, await pullAnswer(root, api));\n+\tpullWritten(root);\n \tconst lines = [\n \t\t`Moved draft ${moved.draft} onto shared version ${moved.sharedBase} (the draft is at version ${moved.version}).`,\n \t\t...recordedFirst(recorded),"}],"unmatched":[]}