mercurial/dirstate.py
changeset 29149 2e40fada340b
parent 29137 d115cbf5980b
child 29150 0e9ed09f5fe9
--- 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