equal
deleted
inserted
replaced
50 def recordchange(self, tr): |
50 def recordchange(self, tr): |
51 """record that bookmarks have been changed in a transaction |
51 """record that bookmarks have been changed in a transaction |
52 |
52 |
53 The transaction is then responsible for updating the file content.""" |
53 The transaction is then responsible for updating the file content.""" |
54 tr.addfilegenerator('bookmarks', ('bookmarks',), self._write, |
54 tr.addfilegenerator('bookmarks', ('bookmarks',), self._write, |
55 vfs=self._repo.vfs) |
55 location='plain') |
56 tr.hookargs['bookmark_moved'] = '1' |
56 tr.hookargs['bookmark_moved'] = '1' |
57 |
57 |
58 def write(self): |
58 def write(self): |
59 '''Write bookmarks |
59 '''Write bookmarks |
60 |
60 |