mercurial/bookmarks.py
changeset 23317 197e17be5407
parent 23199 c35ffa4249ca
child 23360 e06daad65f85
equal deleted inserted replaced
23316:fc3670f41d3e 23317:197e17be5407
    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