Submitter | Pierre-Yves David |
---|---|
Date | Dec. 6, 2015, 8:45 p.m. |
Message ID | <b7102e200b8b952350d0.1449434714@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/11864/ |
State | Superseded |
Commit | 38024b75241a56e8f94d4ba33e0aed2807e5b07e |
Delegated to: | Yuya Nishihara |
Headers | show |
Comments
Patch
diff --git a/mercurial/bookmarks.py b/mercurial/bookmarks.py --- a/mercurial/bookmarks.py +++ b/mercurial/bookmarks.py @@ -103,10 +103,12 @@ class bmstore(dict): in a format equal to those of localtags. 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 if (repo.ui.configbool('devel', 'all-warnings') or repo.ui.configbool('devel', 'check-locks')):