facebook / sapling

A Scalable, User-Friendly Source Control System.
https://sapling-scm.com
GNU General Public License v2.0
6.13k stars 280 forks source link

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

Closed arxanas closed 1 year ago

arxanas commented 1 year ago

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.

yancouto commented 1 year ago

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