Skip to content
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

Modified msort to msortv #242

Closed
wants to merge 1 commit into from

Conversation

dwiddows
Copy link

This fixed a problem I had - I don't know if this fix is desirable in general, but it solved my problem in this case.

Following from an error message from Harbormaster that said:

Harbormaster failed to build the active diff for this revision.

Exception
msort() was passed a method ("getStatusSortVector") which returns "PhutilSortVector" objects. Use "msortv()", not "msort()", to sort a list which produces vectors.
(Run with --trace for a full exception trace.)

…hat said Use msortv(), not msort(), to sort a list which produces vectors.
@epriestley
Copy link
Member

https://secure.phabricator.com/book/phabcontrib/article/contributing_code/#no-pull-requests

This fix is correct, but the best way to get stuff like this fixed upstream is to report it on https://discourse.phabricator-community.org.

@epriestley epriestley closed this Jun 20, 2019
@epriestley
Copy link
Member

(I'll shepherd the change into the upstream via the right pathways, please don't sue us.)

@dwiddows
Copy link
Author

I hadn't found the #no-pull-requests instruction, sorry about that. Thanks @epriestley for taking this on.

@epriestley
Copy link
Member

(Upstream as https://secure.phabricator.com/D20605.)

phacility-bot pushed a commit that referenced this pull request Jun 20, 2019
Summary: See <#242>. Ref T13303. A little more fallout turned up in `arc`.

Test Plan: `grep msort(`

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13303

Differential Revision: https://secure.phabricator.com/D20605
@eb-fmezzabotta
Copy link

eb-fmezzabotta commented Oct 11, 2019

Does anyone has any input on why this started to happen? Is it the harbormaster version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants