equal
deleted
inserted
replaced
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')): |