martinvonz / jj

A Git-compatible VCS that is both simple and powerful

Home Page:https://martinvonz.github.io/jj/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commands like `jj log` should accept revsets prefixed with `all:` as a no-op

ilyagr opened this issue · comments

Description

Currently, only commands affected by the all: prefix recognize it. This causes confusing syntax errors:

$ jj log -r u
@  urznpt ilyagr@ 17 minutes ago fb90b28
│  (empty) (no description set)
~

$ jj log -r all:u
Error: Failed to parse revset: ':' is not an infix operator
Caused by:  --> 1:4
  |
1 | all:u
  |    ^
  |
  = ':' is not an infix operator
Hint: Did you mean '::' for DAG range?

We should fix them to accept all: and ignore it.