-
Notifications
You must be signed in to change notification settings - Fork 345
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
cli: status: only scan through mutable changes to find conflicts #3633
Conversation
b5fabbf
to
c69d9db
Compare
Thank you! If we're going to get this into 0.17.1, the commit should be based on that commit and we should do a merge into |
And we'll of course need to bump the version numbers too. So maybe we should create a new branch for this instead. I don't know how people normally do this with GitHub. Anyway, please don't merge this for now even if you get approval. And could you also make sure it's based on v0.17.0? Thanks |
Rebased to tag 0.17.0 |
Alternatively I could merge this to main, and you could locally |
I don't think that helps much other than for getting it more quickly to people who build from source on the |
@@ -98,6 +99,9 @@ pub(crate) fn cmd_status( | |||
let ancestors_conflicts = RevsetExpression::filter(RevsetFilterPredicate::HasConflict) | |||
.intersection(&wc_revset.ancestors()) | |||
.minus(&wc_revset) | |||
.minus(&revset_util::parse_immutable_expression( | |||
&workspace_command.revset_parse_context(), | |||
)?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Since immutable_heads()
is a user expression, .evaluate_programmatic()
can't be used anymore.
TBH, in this case I'd suggest that we just do "trunk based development" and just merge this, then immediately cut another release from |
We discussed this a bit on Discord. We made the changes directly on the release branch and then merged into to main branch this time. We can have a separate discussion about instead cherry-picking to the release branch in the future. |
Fixes #3628
Verified manually
Checklist
If applicable:
CHANGELOG.md