##// END OF EJS Templates
devel: use the new 'config' argument for the dirstate develwarn
Pierre-Yves David -
r29097:ff4cc443 default
parent child Browse files
Show More
@@ -694,10 +694,9 class dirstate(object):
694
694
695 filename = self._filename
695 filename = self._filename
696 if tr is False: # not explicitly specified
696 if tr is False: # not explicitly specified
697 if (self._ui.configbool('devel', 'all-warnings')
698 or self._ui.configbool('devel', 'check-dirstate-write')):
699 self._ui.develwarn('use dirstate.write with '
697 self._ui.develwarn('use dirstate.write with '
700 'repo.currenttransaction()')
698 'repo.currenttransaction()',
699 config='check-dirstate-write')
701
700
702 if self._opener.lexists(self._pendingfilename):
701 if self._opener.lexists(self._pendingfilename):
703 # if pending file already exists, in-memory changes
702 # if pending file already exists, in-memory changes
General Comments 0
You need to be logged in to leave comments. Login now