comparison tests/test-exchange-obsmarkers-case-A3.t @ 38013:0db7fe7c34d3

shortest: make pure code also disambigute against revnums at end This makes the pure code more similar to the native code in that it first finds a prefix that's unambiguous among nodeids and then adds hex digits until it no longer looks like a revnum. It will allow us to even better separate the disambiguation with revnums in a later patch. With this patch `hg log -r 0::50 -T '{shortest(node,1)}'` with no native code goes from 25s to 43s. It wasn't exactly usable to begin with, so I don't feel too bad about it. Differential Revision: https://phab.mercurial-scm.org/D3500
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 03 May 2018 15:01:33 -0700
parents 1a09dad8b85a
children 89630d0b3e23
comparison
equal deleted inserted replaced
38012:0304f22497fa 38013:0db7fe7c34d3