FR: jj split
has confusing behavior when given a revision
#4084
Labels
enhancement
New feature or request
jj split
has confusing behavior when given a revision
#4084
Is your feature request related to a problem? Please describe.
I occasionally try to split a non-head commit with something like
jj split rswnmnyv
. This is not the right way to usejj split
- the trailing arguments should be paths – but it doesn't produce an error; instead it goes ahead splits the current commit.Describe the solution you'd like
jj split
should produce an error when given a nonexistent path. For bonus points, if the path looks like a revision, it should print a message to that effect (e.g. something likeTo specify a revset, pass -r "rswnmnyv" instead
).The text was updated successfully, but these errors were encountered: