-
Notifications
You must be signed in to change notification settings - Fork 343
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
FR: Print a hint of how to resolve conflicted branches or conflicted change ids #2192
Comments
having some of these tips would be great! |
Here you go :) Thanks! |
It worked :) |
Hi, checking if the revset is a branch would be the way to go here? if revset_is_branch {
hint = ... // hint to use jj branch set/jj abandon
} else {
hint = normal_hint
} |
Yes, that sounds right to me. You can inspect the |
I'm going to close this issue as it has been adressed by #2244 |
When a user has a conflicted branch, they usually run into a message like the following:
When a user has a conflicted change id, they run into a very similar message.
It would be nice if we did one or both of the following:
jj
informed the user when such conflicts are created (this could also apply to file conflicts)jj
could automatically determine that it's in one of these situations when resolving a revset.In either case,
jj
could then the appropriate advice (jj branch set
for conflicted branches,jj abandon
for conflicted change ids).Related Discord discussions: 1, 2.
The text was updated successfully, but these errors were encountered: