equal
deleted
inserted
replaced
210 """record that bookmarks have been changed in a transaction |
210 """record that bookmarks have been changed in a transaction |
211 |
211 |
212 The transaction is then responsible for updating the file content.""" |
212 The transaction is then responsible for updating the file content.""" |
213 location = b'' if bookmarksinstore(self._repo) else b'plain' |
213 location = b'' if bookmarksinstore(self._repo) else b'plain' |
214 tr.addfilegenerator( |
214 tr.addfilegenerator( |
215 b'bookmarks', (b'bookmarks',), self._write, location=location |
215 b'bookmarks', |
|
216 (b'bookmarks',), |
|
217 self._write, |
|
218 location=location, |
|
219 post_finalize=True, |
216 ) |
220 ) |
217 tr.hookargs[b'bookmark_moved'] = b'1' |
221 tr.hookargs[b'bookmark_moved'] = b'1' |
218 |
222 |
219 def _writerepo(self, repo): |
223 def _writerepo(self, repo): |
220 """Factored out for extensibility""" |
224 """Factored out for extensibility""" |