D6208: branchcache: lazily validate nodes from the branchmap

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Mon Apr 15 19:16:39 EDT 2019


yuja added a comment.


  >   def copy(self):
  >       """return an deep copy of the branchcache object"""
  > 
  > +        self._verifyall()
  > 
  >   return type(self)(
  >       self._entries, self.tipnode, self.tiprev, self.filteredhash,
  >       self._closednodes)
  
  Maybe the copy would be marked as not verified?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6208

To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list