--- a/mercurial/revlog.py Sun Jan 29 20:27:58 2006 +1300+++ b/mercurial/revlog.py Sun Jan 29 20:30:41 2006 +1300@@ -197,7 +197,7 @@ raise i = ""- if i[:4] != "\0\0\0\0":+ if i and i[:4] != "\0\0\0\0": raise RevlogError(_("incompatible revlog signature on %s") % self.indexfile)