mercurial/bookmarks.py
changeset 27276 38024b75241a
parent 27188 6a1301e22bd7
child 27685 9fbae70faf65
equal deleted inserted replaced
27275:f2cd240f2f7c 27276:38024b75241a
   103         in a format equal to those of localtags.
   103         in a format equal to those of localtags.
   104 
   104 
   105         We also store a backup of the previous state in undo.bookmarks that
   105         We also store a backup of the previous state in undo.bookmarks that
   106         can be copied back on rollback.
   106         can be copied back on rollback.
   107         '''
   107         '''
       
   108         msg = 'bm.write() is deprecated, use bm.recordchange(transaction)'
       
   109         self._repo.ui.deprecwarn(msg, '3.7')
   108         if self._clean:
   110         if self._clean:
   109             return
   111             return
   110         repo = self._repo
   112         repo = self._repo
   111         if (repo.ui.configbool('devel', 'all-warnings')
   113         if (repo.ui.configbool('devel', 'all-warnings')
   112                 or repo.ui.configbool('devel', 'check-locks')):
   114                 or repo.ui.configbool('devel', 'check-locks')):