mercurial/revlog.py
changeset 84 b2e3528115da
parent 83 9fd5b35cfc45
child 86 1b945e8ba67b
equal deleted inserted replaced
83:9fd5b35cfc45 84:b2e3528115da
   409 
   409 
   410         if not data: return self.tip()
   410         if not data: return self.tip()
   411 
   411 
   412         # retrieve the parent revision of the delta chain
   412         # retrieve the parent revision of the delta chain
   413         chain = data[24:44]
   413         chain = data[24:44]
       
   414         if not chain in self.nodemap:
       
   415             raise "unknown base %s" % short(chain[:4])
   414 
   416 
   415         # track the base of the current delta log
   417         # track the base of the current delta log
   416         r = self.count()
   418         r = self.count()
   417         t = r - 1
   419         t = r - 1
   418         
   420