The next change will add a shortcut for the . revision.
One day we might start matching tip and others, so this is an easy refactor.
Details
Details
- Reviewers
SimonSapin - Group Reviewers
hg-reviewers - Commits
- rHGddde80830aea: rust-revset: add separate match logic for shortcuts
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
rust/hg-core/src/revset.rs | ||
---|---|---|
28 | This return looks unnecessary. Speaking of that, what do you think about running Clippy as part of the test suite? |
rust/hg-core/src/revset.rs | ||
---|---|---|
28 | Ah yes, it became unnecessary indeed. I think clippy is nice most of the time, though sometimes it's overzealous, so we might need to decide which of its recommendations to ignore, but that shouldn't be too much of an issue. |
This return looks unnecessary. Speaking of that, what do you think about running Clippy as part of the test suite?