comparison mercurial/wireprotov2peer.py @ 38853:3588e41f796d

shortest: cache disambiguation revset This makes it actually useful. In compared the time in my hg repo with 69.6k revisions and with a disambiguation revset of "not public()" that matches 563 visible revisions. I ran "time hg log -T '{shortest(node1,)}' -r 0:1000" (no revisions within the revset in that revision range). Before this patch, it took 57s and after it took 0.7s. Differential Revision: https://phab.mercurial-scm.org/D4039
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 17 Apr 2018 11:16:59 -0700
parents 3ea8323d6f95
children 1467b6c27ff9
comparison
equal deleted inserted replaced
38852:a3dacabd476b 38853:3588e41f796d