From 16cb7fdee83b9217c0359532c34b683a10e663ff Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Thu, 25 Aug 2022 16:37:09 -0700 Subject: [PATCH] docs: describe the `foo@` revset syntax We have supported multiple workspaces for six months now, but I forgot to remove a note in the revset doc saying that we don't support it. Also update the text to descibe how to refer to the working-copy commit in another workspace. --- docs/revsets.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/revsets.md b/docs/revsets.md index 23edfc001..595ead570 100644 --- a/docs/revsets.md +++ b/docs/revsets.md @@ -22,9 +22,8 @@ ID or a Git ref pointing to them). The symbol `root` refers to the virtual commit that is the oldest ancestor of all other commits. -The symbol `@` refers to the working copy commit in the current workspace ( -Jujutsu supports only one workspace per repo -[so far](https://github.com/martinvonz/jj/issues/13)). +The symbol `@` refers to the working copy commit in the current workspace. Use +`@` to refer to the working copy commit in another workspace. A full commit ID refers to a single commit. A unique prefix of the full commit ID can also be used. It is an error to use a non-unique prefix.