equal
deleted
inserted
replaced
408 self.filemapmode = active |
408 self.filemapmode = active |
409 |
409 |
410 def putbookmarks(self, updatedbookmark): |
410 def putbookmarks(self, updatedbookmark): |
411 if not len(updatedbookmark): |
411 if not len(updatedbookmark): |
412 return |
412 return |
413 |
413 if True: |
414 self.ui.status(_("updating bookmarks\n")) |
414 self.ui.status(_("updating bookmarks\n")) |
415 destmarks = self.repo._bookmarks |
415 destmarks = self.repo._bookmarks |
416 for bookmark in updatedbookmark: |
416 for bookmark in updatedbookmark: |
417 destmarks[bookmark] = bin(updatedbookmark[bookmark]) |
417 destmarks[bookmark] = bin(updatedbookmark[bookmark]) |
418 destmarks.write() |
418 destmarks.write() |
419 |
419 |
420 def hascommitfrommap(self, rev): |
420 def hascommitfrommap(self, rev): |
421 # the exact semantics of clonebranches is unclear so we can't say no |
421 # the exact semantics of clonebranches is unclear so we can't say no |
422 return rev in self.repo or self.clonebranches |
422 return rev in self.repo or self.clonebranches |
423 |
423 |