Mercurial > hg
diff mercurial/interfaces/repository.py @ 46508:f7b61ad3c64a
revlog: change addrevision to return the new revision, not node
Differential Revision: https://phab.mercurial-scm.org/D9882
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Wed, 27 Jan 2021 01:43:17 +0100 |
parents | 711ba0f1057e |
children | 7a93b7b3dc2d |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Wed Jan 27 00:55:20 2021 +0100 +++ b/mercurial/interfaces/repository.py Wed Jan 27 01:43:17 2021 +0100 @@ -734,7 +734,7 @@ flags=0, cachedelta=None, ): - """Add a new revision to the store. + """Add a new revision to the store and return its number. This is similar to ``add()`` except it operates at a lower level.