@@ -108,28 +108,27 @@ Unmounts the path `%/web` from whatever name it was mounted as.
109Unmounts the Unix path `/generators`.
109Unmounts the Unix path `/generators`.
111−### `|merge desk beak [strategy]`
111+### `|merge desk beak[, =gem strategy]`
113Merges a `beak` into a `desk` using an optional merge `strategy`.
113Merges a `beak` into a `desk` using an optional merge `strategy`.
115−A `beak` is either a desk (`%home`), a plot-desk cell (`[~doznec
116−%home]`), or a plot-desk-case (`/~doznec/home/2/web/md`)
115+A `beak` is a ship-desk-case triple, encoded as a path(`/~doznec/home/2`)
118**Examples:**
117**Examples:**
120− |merge %home-work /=home= %fine
119+ |merge %home-work /=home=, =gem %fine
122Merge `/=home=` into `%home-work` using merge strategy `%fine`.
121Merge `/=home=` into `%home-work` using merge strategy `%fine`.
124− |merge %examples [~wacbex-ribmex %examples]
123+ |merge %examples ~wacbex-ribmex %examples
126Merge the `%examples` desk from `~waxbex-ribmex`
125Merge the `%examples` desk from `~waxbex-ribmex`
128### `|sync desk plot [plot-desk]`
127### `|sync desk plot [plot-desk]`
130Subscribe to continuous updates from remote `plot` on local `desk`.
129Subscribe to continuous updates from remote `plot` on local `desk`.
131−`plot-desk` can specify the remote `desk` name. When omitted it's
130+`plot-desk` can specify the remote `desk` name. When omitted it is
132−assumed to be the same as `desk`. Moons have `|sync %home ~parent
131+defaulted to being the same as `desk`. Ships have `|sync %home ~parent
133%kids` automatically set up (where `~parent` is the planet that issued
132%kids` automatically set up (where `~parent` is the planet that issued
134the moon).
133the moon).
@@ -140,8 +139,7 @@ the moon).
140### `|unsync desk plot [plot-desk]`
139### `|unsync desk plot [plot-desk]`
142Unsubscribe from updates from remote `plot` on local `desk` with
141Unsubscribe from updates from remote `plot` on local `desk` with
143−optional `plot-desk`. Arguments must match original `|sync` command
142+optional `plot-desk`. Arguments must match original `|sync` command.
@@ -160,7 +158,7 @@ Example:
160`%init` - Used if it's the first commit to a desk. Also can be
158`%init` - Used if it's the first commit to a desk. Also can be
161used to "reinitialize" a desk -- revision numbers keep going up,
159used to "reinitialize" a desk -- revision numbers keep going up,
162but the new revision isn't necessarily a descendent of the
160but the new revision isn't necessarily a descendent of the
163−previously-numbered version.
161+previously-numbered version, allowing merges to be rerun.
165`%this` - Keep what's in Bob's desk, but join the ancestry.
163`%this` - Keep what's in Bob's desk, but join the ancestry.
@@ -209,32 +207,26 @@ Finally, we annotate any conflicts, if we know how.
209Remove the data at `path`. `path` must be a path to actual node, not
207Remove the data at `path`. `path` must be a path to actual node, not
210a 'directory'
208a 'directory'
212−### `|cp to from how`
210+### `|cp to from`
214−Copy the subtree `from` into the subtree `to`, committing it with the
212+Copy the file at `from` into the path `to`.
215−specified merge strategy `how`.
217−#### `|mv to from how`
214+#### `|mv to from`
219−Move the subtree `from` into the subtree `to`, committing it with the
216+Move the file at `from` into the path `to`.
220−specified merge strategy `how`.
222In `%clay`, `|mv` is just a shorthand for `|cp` then `|rm`. The `|rm`
218In `%clay`, `|mv` is just a shorthand for `|cp` then `|rm`. The `|rm`
223doesn't happen unless the `|cp` succeeds.
219doesn't happen unless the `|cp` succeeds.
225### Generators
221### Generators
227−<h3 class="first child"><code>+cat path</code> / <code>+cal [path
223+<h3 class="first child"><code>+cat path [path ...]</code></h3>
230−Similar to Unix `cat`. `+cat` takes a single `path`, `+cal` a list of
225+Similar to Unix `cat`. `+cat` takes one or more `path`s, and prints
231−paths.
226+their contents.
233−Produces the contents of the file at the given `path`.
228+### `+ls path`
235−### `+ls path` / `+ll [path ...]`
237−Similar to Unix `ls`. `+ls` takes a single `path`, `+ll` a list of
230+Similar to Unix `ls`. `+ls` takes a single `path`.
240Produces a list of names at the `path`.
232Produces a list of names at the `path`.