Mercurial > hg-stable
changeset 29149:2e40fada340b
devel: officially deprecate dirstate.write without transaction argument
When we introduce the develwarning, we did not had an official deprecation API
and infrastructure. We can now officially deprecate the old way with a version
deadline.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 11 May 2016 09:31:47 +0200 |
parents | 899879becd65 |
children | 0e9ed09f5fe9 |
files | mercurial/dirstate.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dirstate.py Wed May 11 09:31:47 2016 +0200 +++ b/mercurial/dirstate.py Wed May 11 09:31:47 2016 +0200 @@ -694,9 +694,9 @@ filename = self._filename if tr is False: # not explicitly specified - self._ui.develwarn('use dirstate.write with ' + self._ui.deprecwarn('use dirstate.write with ' 'repo.currenttransaction()', - config='check-dirstate-write') + '3.9') if self._opener.lexists(self._pendingfilename): # if pending file already exists, in-memory changes