##// END OF EJS Templates
Add safety check for addgroup
Matt Mackall -
r1509:46a07392 default
parent child Browse files
Show More
@@ -784,6 +784,10 b' class revlog:'
784 continue
784 continue
785 delta = chunk[80:]
785 delta = chunk[80:]
786
786
787 for p in (p1, p2):
788 if not p in self.nodemap:
789 raise RevlogError(_("unknown parent %s") % short(p1))
790
787 if not chain:
791 if not chain:
788 # retrieve the parent revision of the delta chain
792 # retrieve the parent revision of the delta chain
789 chain = p1
793 chain = p1
General Comments 0
You need to be logged in to leave comments. Login now