sapling icon indicating copy to clipboard operation
sapling copied to clipboard

ISL suggests `update --clean`, which doesn't exist

Open arxanas opened this issue 3 years ago • 1 comments

Steps to reproduce:

  1. Make some uncommited changes.
  2. Try to Goto a different commit in the VS Code ISL.

Actual behavior:

See this message:

(commit, shelve, update --clean to discard all your changes, or update --merge to merge them)

Screen Shot 2022-11-15 at 15 16 50

But sl update --clean doesn't work; it looks like sl goto is the command instead. Perhaps update should be an alias for goto? (That's what Jujutsu does IIRC.)

Expected behavior:

All suggested options are valid sl commands.

arxanas avatar Nov 15 '22 23:11 arxanas

Yes, it's supposed to be goto instead of update. We will fix the documentation.

yancouto avatar Nov 16 '22 19:11 yancouto