ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/docs
Yuya Nishihara 81f1ae38b3 revset: add literal:"string" pattern syntax
The syntax is slightly different from Mercurial. In Mercurial, a pattern must
be quoted like "<kind>:<needle>". In JJ, <kind> is a separate parsing node, and
it must not appear in a quoted string. This allows us to report unknown prefix
as an error.

There's another subtle behavior difference. In Mercurial, branch(unknown) is
an error, whereas our branches(literal:unknown) is resolved to an empty set.
I think erroring out doesn't make sense for JJ since branches() by default
performs substring matching, so its behavior is more like a filter.

The parser abuses DAG range syntax for now. It can be rewritten once we remove
the deprecated x:y range syntax.
2023-08-17 07:42:12 +09:00
..
design docs/design: propose submodule storage approach 2023-04-24 14:29:47 -07:00
technical docs: correct stale info about which backends are dynamically chosen 2023-08-13 14:15:09 +00:00
branches.md
code-of-conduct.md
config.md docs: ui.difftool -> ui.diff-editor 2023-08-13 21:12:50 -04:00
config.toml configs: use Notepad as default editor on Windows 2023-08-10 17:09:07 +00:00
conflicts.md
contributing.md docs: fix contributing.md 2023-07-17 19:22:51 -05:00
FAQ.md faq: minor fixes and cleanups 2023-08-09 03:15:26 +00:00
git-comparison.md Small addition to index comparison 2023-08-14 13:48:46 +09:00
git-compatibility.md git: add support for SSH authentication with ed25519 or ed25519-sk 2023-08-09 03:44:03 +00:00
github.md revset: add function mine() 2023-08-16 11:00:14 -05:00
glossary.md docs: add a glossary 2023-04-17 16:48:23 -07:00
operation-log.md docs: fix typo in operation-log.md 2023-08-13 05:08:45 +00:00
related-work.md docs: add doc comparing jj to Sapling (#1708) 2023-06-28 06:56:57 +02:00
revsets.md revset: add literal:"string" pattern syntax 2023-08-17 07:42:12 +09:00
sapling-comparison.md docs: add doc comparing jj to Sapling (#1708) 2023-06-28 06:56:57 +02:00
templates.md templater: add root keyword 2023-08-15 18:54:59 +03:00
tutorial.md configs: use Notepad as default editor on Windows 2023-08-10 17:09:07 +00:00
working-copy.md workspace: add a root subcommand to print the workspace root path 2023-01-24 16:53:54 +01:00