-
Notifications
You must be signed in to change notification settings - Fork 365
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
"exact" modifier does not seem to work (at least when used in a revset within a describe() expression) #5227
Comments
Does |
I've run into this before. I think it's because technically, the description ends with a newline if it's non-empty. So |
That's probably it. I think the revset doc can be updated. |
Another confusing thing is that jj log -r 'description(exact:\'test
\')' or jj log -r "description(exact:'test
')" does work (in Perhaps I suppose there could be a version of |
Well, I don't think exact match on description is useful (except for |
What may be useful is having a query (and template?) for only the subject line of a description, which can be fairly useful to search exactly (e.g. commit subjects mentioned in emails), and could naturally strip the trailing newline. |
I think it could be quite useful if you use certain specific descriptions for certain revisions (e.g. CI/CD, etc).
FWIW mercurial does have a "matching" function that can take "summary" as its "field" argument, which looks for the first line of each commit message. |
FWIW, |
Description
Steps to Reproduce the Problem
Expected Behavior
It should return the revisions exactly matching "my_unique_test_description" (normally it should just be one)
Actual Behavior
No revisions are matched
Specifications
The text was updated successfully, but these errors were encountered: