##// END OF EJS Templates
Fix revlog signature check for empty revlogs
Matt Mackall -
r1660:b2df93c5 default
parent child Browse files
Show More
@@ -197,7 +197,7 b' class revlog(object):'
197 raise
197 raise
198 i = ""
198 i = ""
199
199
200 if i[:4] != "\0\0\0\0":
200 if i and i[:4] != "\0\0\0\0":
201 raise RevlogError(_("incompatible revlog signature on %s") %
201 raise RevlogError(_("incompatible revlog signature on %s") %
202 self.indexfile)
202 self.indexfile)
203
203
General Comments 0
You need to be logged in to leave comments. Login now