This is an archive of the discontinued Mercurial Phabricator instance.

perftweaks: fix rebase size tracking
ClosedPublic

Authored by durham on Aug 31 2017, 3:54 PM.
Tags
None
Subscribers
None

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGX8ea298d565f2: perftweaks: fix rebase size tracking
Summary

Upstream change the rebase signature, so let's change our wrapper.

Test Plan

Ran the tests

Diff Detail

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

Event Timeline

durham created this revision.Aug 31 2017, 3:54 PM
quark accepted this revision.Aug 31 2017, 4:16 PM
quark added inline comments.
hgext3rd/perftweaks.py
290

Maybe "not destmap" is better. It might be an empty dict.

297–298

Maybe max(destmap.values()) as an attempt to get approximately the longest path.

This revision is now accepted and ready to land.Aug 31 2017, 4:16 PM
This revision was automatically updated to reflect the committed changes.