HomePhabricator

smartlog: do not query branch

Authored by quark.

Description

smartlog: do not query branch

branch(.) is not cheap since it builds the revbranchcache:

66              \ branch (2 times)           revset.py:465
48                \ wrapper (2 times)        localrepo.py:141
48                 | revbranchcache (2 times) localrepo.py:959
46                 | __init__                branchmap.py:354
16                 | read (2 times)          vfs.py:78
18                \ branchmap (2 times)      localrepo.py:953

Differential Revision: https://phab.mercurial-scm.org/D1466

Details

Committed
quarkNov 29 2017, 10:06 PM
Differential Revision
D1466: smartlog: do not query branch
Parents
rFBHGX3d334a08c2c8: repack: move repack lock into shared cache
Branches
Unknown
Tags
Unknown