##// END OF EJS Templates
bookmark: use 'applychanges' in the convert extension
Boris Feld -
r33487:a050d37c default
parent child Browse files
Show More
@@ -425,9 +425,9 class mercurial_sink(common.converter_si
425 425 tr = self.repo.transaction('bookmark')
426 426 self.ui.status(_("updating bookmarks\n"))
427 427 destmarks = self.repo._bookmarks
428 for bookmark in updatedbookmark:
429 destmarks[bookmark] = nodemod.bin(updatedbookmark[bookmark])
430 destmarks.recordchange(tr)
428 changes = [(bookmark, nodemod.bin(updatedbookmark[bookmark]))
429 for bookmark in updatedbookmark]
430 destmarks.applychanges(self.repo, tr, changes)
431 431 tr.close()
432 432 finally:
433 433 lockmod.release(lock, wlock, tr)
General Comments 0
You need to be logged in to leave comments. Login now