This is an archive of the discontinued Mercurial Phabricator instance.

branchmap: remove redundant sort
ClosedPublic

Authored by mjpieters on Oct 16 2018, 6:22 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Commits
rHG5644f7c8982e: branchmap: remove redundant sort
Summary

There is absoluty no benefit in sorting a list that's being merged into a set
on the next line. The changelog.ancestors() call later on also doesn't benefit
from a sorted sequence of revs.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mjpieters created this revision.Oct 16 2018, 6:22 AM
This revision was automatically updated to reflect the committed changes.