comparison tests/test-config.t @ 37864:890bdf0e33c8

shortest: extract function for checking if a prefix is a revnum Much of isvalid() was about testing if a prefix is a valid revnum. I want to reuse that soon, so let's move it out. There is no significant slowdown from the function call overhead. Differential Revision: https://phab.mercurial-scm.org/D3460
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 02 May 2018 22:56:10 -0700
parents a22915edc279
children edbcf5b239f9
comparison
equal deleted inserted replaced
37863:6921d3ecadc1 37864:890bdf0e33c8