diff mercurial/policy.py @ 46506:07984507d553

revlog: change _addrevision to return the new revision The node is passed as argument already, so returning it is quite pointless. The revision number on the other is useful as it decouples the caller from the revlog internals. Differential Revision: https://phab.mercurial-scm.org/D9880
author Joerg Sonnenberger <joerg@bec.de>
date Tue, 26 Jan 2021 23:56:11 +0100
parents 61e7464477ac
children 12450fbea288
line wrap: on
line diff