mercurial/revlog.py
changeset 49476 5846bc8a2855
parent 49415 5fe7e9eda0f3
child 49533 8d6c8a9a91f8
equal deleted inserted replaced
49475:d513ae93dff3 49476:5846bc8a2855
  1773         if base == rev:
  1773         if base == rev:
  1774             return True
  1774             return True
  1775         if base == nullrev:
  1775         if base == nullrev:
  1776             return True
  1776             return True
  1777         p1 = entry[5]
  1777         p1 = entry[5]
       
  1778         while self.length(p1) == 0:
       
  1779             b = self.deltaparent(p1)
       
  1780             if b == p1:
       
  1781                 break
       
  1782             p1 = b
  1778         p2 = entry[6]
  1783         p2 = entry[6]
       
  1784         while self.length(p2) == 0:
       
  1785             b = self.deltaparent(p2)
       
  1786             if b == p2:
       
  1787                 break
       
  1788             p2 = b
  1779         if base == p1 or base == p2:
  1789         if base == p1 or base == p2:
  1780             return False
  1790             return False
  1781         return self.issnapshot(base)
  1791         return self.issnapshot(base)
  1782 
  1792 
  1783     def snapshotdepth(self, rev):
  1793     def snapshotdepth(self, rev):