Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: feat(scm): Add revset aliases for `next` and `prev` In the same way you can `sl go top`, it seems logical to also have `sl go next`. However, instead it is `sl next`. While I normally remember to do `sl prev`, I sometimes accidentally do `sl go prev` out of habbit and get an error. Instead, let's simply add two revset aliases for `next` and `prev` to make sl more intuitive. The revset functions were added by D43383303. This change adds convenient aliases so one can use `next`, `prev` without typing `()`: next prev previous Number of steps can still be specified using the function form: next(2) prev(3) previous(4) Closes #444 Pull Request resolved: #448 Test Plan: Automated tested blocked on #447 Manually tested by running `sl go next` and `sl go prev` and verifying I ended up in the right spot. Reviewed By: muirdm Differential Revision: D43329058 Pulled By: quark-zju fbshipit-source-id: 6fa5c6e6e41971f8f15b784586176b089c5f0027
- Loading branch information