Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix revset parentheses #559

Merged
merged 1 commit into from
Sep 24, 2022
Merged

Conversation

pokey
Copy link
Collaborator

@pokey pokey commented Sep 23, 2022

Add support for parentheses anywhere in revsets

Fixes #558

@pokey
Copy link
Collaborator Author

pokey commented Sep 23, 2022

Any idea why I'm getting lint errors? I didn't touch that file 🤔

@claytonrcarter
Copy link
Collaborator

Thanks for this! FWIW this looks good to me. I like how thorough the tests are!

I have nothing to add about the spurious clippy warnings. I'm getting identical warnings in #545 but only in CI. Clippy appears to be happy when I run it locally. 😕

@pokey
Copy link
Collaborator Author

pokey commented Sep 23, 2022

I think it may be caused by a recent rust upgrade; I wasn't getting it locally either and then I upgraded rust and started seeing it locally as well

@pokey
Copy link
Collaborator Author

pokey commented Sep 23, 2022

I believe #561 should fix it

Copy link
Owner

@arxanas arxanas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this too!

@arxanas arxanas enabled auto-merge (rebase) September 24, 2022 01:48
@arxanas arxanas merged commit 1f07505 into arxanas:master Sep 24, 2022
@pokey pokey deleted the pokey/fix-revset-parentheses branch September 24, 2022 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parser can't handle parenthesized expressions as arguments of - and &
3 participants