changeset 27276 | 38024b75241a |
parent 27188 | 6a1301e22bd7 |
child 27685 | 9fbae70faf65 |
--- a/mercurial/bookmarks.py Sat Dec 05 23:05:49 2015 -0800 +++ b/mercurial/bookmarks.py Sat Dec 05 23:34:07 2015 -0800 @@ -105,6 +105,8 @@ We also store a backup of the previous state in undo.bookmarks that can be copied back on rollback. ''' + msg = 'bm.write() is deprecated, use bm.recordchange(transaction)' + self._repo.ui.deprecwarn(msg, '3.7') if self._clean: return repo = self._repo