diff mercurial/wireprotov2peer.py @ 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 3ea8323d6f95
children 1467b6c27ff9
line wrap: on
line diff