merges() vs merges(x) #7620
Replies: 2 comments 4 replies
-
|
For completeness, the list of functions taking revsets:
and the list of functions not taking revsets (kind of assuming
About the latter, the ones maybe deserving an optional revsets parameter could be:
|
Beta Was this translation helpful? Give feedback.
-
|
The functions that don't take arguments match inherent properties of each commit:
On the other hand, the functions that take a revset argument need that argument to calculate the result:
Then |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Most of the functions in the revset language take revsets as parameters.
I just wonder why
merges()does not.I acknowledge that
merges(x)can be obtained withmerges() & x. Yet I think that the following would probably fit more consistently with the rest of functions:merges(x): Merge commits inxmerges(): alias ofmerges(all())What do you think?
Beta Was this translation helpful? Give feedback.
All reactions