comparison mercurial/revlog.py @ 84:b2e3528115da

More useful message on broken addgroup chain
author mpm@selenic.com
date Tue, 17 May 2005 11:40:26 -0800
parents 9fd5b35cfc45
children 1b945e8ba67b
comparison
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