jj squash xyz
no longer warns that the revision was treated as a path
#3981
Labels
🐛bug
Something isn't working
Description
Steps to Reproduce the Problem
jj squash {some_changeid}
instead of the intended-r {some_change_id}
Expected Behavior
jj takes no action (assuming the changeid isn't also a valid path) and prints a warning
warning: The argument "xw" is being interpreted as a path. To specify a revset, pass -r "xw" instead.
Actual Behavior
jj prints output which looks a lot like the command completed as intended.
jj 0.18.0
See also #3334 - that report is different, but there you can see how jj used to print this warning.
The text was updated successfully, but these errors were encountered: