HomePhabricator

templatekw: cache mergestate even if merge is not ongoing

Authored by yuja.

Description

templatekw: cache mergestate even if merge is not ongoing

While playing with eBPF, I noticed .hg/merge/state{,2} files were tried
to open() for each revision. That's not healthy. Let's cache the "inactive"
state as well.

Details

Committed
yujaApr 15 2020, 10:11 AM
Parents
rHG637eb7f7559b: revset: remove explicit sort() from unstable()
Branches
Unknown
Tags
Unknown