Show More
@@ -90,6 +90,11 b' class bmstore(dict):' | |||||
90 | can be copied back on rollback. |
|
90 | can be copied back on rollback. | |
91 | ''' |
|
91 | ''' | |
92 | repo = self._repo |
|
92 | repo = self._repo | |
|
93 | if (repo.ui.configbool('devel', 'all-warnings') | |||
|
94 | or repo.ui.configbool('devel', 'check-locks')): | |||
|
95 | l = repo._wlockref and repo._wlockref() | |||
|
96 | if l is None or not l.held: | |||
|
97 | repo.ui.develwarn('bookmarks write with no wlock') | |||
93 | self._writerepo(repo) |
|
98 | self._writerepo(repo) | |
94 | repo.invalidatevolatilesets() |
|
99 | repo.invalidatevolatilesets() | |
95 |
|
100 |
General Comments 0
You need to be logged in to leave comments.
Login now