Revset to identify a megamerge #7588
Unanswered
9999years
asked this question in
Nice Revsets
Replies: 1 comment
-
I am cheesy and I usually just |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With the jj megamerge workflow, I'd like to have a command to create a new stream of work from the working commit. Currently, this looks like
jj split -A 'trunk()' -B my_megamerge .
.I'd like to write a revset alias that identifies the megamerge commit.
Here’s the best i’ve got so far, but it doesn’t work reliably if you have multiple megamerges or if you have commits that merge with each other as ancestors of the megamerge commit.
Is there a way to get the ‘descendent-most’ commit from a set of commits? (E.g. from a revset get a commit that doesn't have any of the other commits as a descendant?)
Beta Was this translation helpful? Give feedback.
All reactions