Mercurial > hg
diff mercurial/interfaces/repository.py @ 46509:7a93b7b3dc2d
revlog: change addgroup callbacks to take revision numbers
Differential Revision: https://phab.mercurial-scm.org/D9883
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Wed, 27 Jan 2021 02:34:51 +0100 |
parents | f7b61ad3c64a |
children | e8c11a2c96c0 |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Wed Jan 27 01:43:17 2021 +0100 +++ b/mercurial/interfaces/repository.py Wed Jan 27 02:34:51 2021 +0100 @@ -774,8 +774,9 @@ This used to be the default when ``addrevisioncb`` was provided up to Mercurial 5.8. - ``addrevisioncb`` should be called for each node as it is committed. - ``duplicaterevisioncb`` should be called for each pre-existing node. + ``addrevisioncb`` should be called for each new rev as it is committed. + ``duplicaterevisioncb`` should be called for all revs with a + pre-existing node. ``maybemissingparents`` is a bool indicating whether the incoming data may reference parents/ancestor revisions that aren't present.