mercurial/hgweb.py
changeset 377 e5d769afd3ef
parent 375 b29219389b00
parent 376 fadc9e126369
child 391 5f65a108a559
--- a/mercurial/hgweb.py	Wed Jun 15 21:13:08 2005 -0800
+++ b/mercurial/hgweb.py	Wed Jun 15 21:13:49 2005 -0800
@@ -563,7 +563,7 @@
                      footer = self.footer(),
                      repo = self.reponame,
                      file = file,
-                     filenode = hex(mf[file]),
+                     filenode = hex(mf.get(file, nullid)),
                      node = changeset,
                      rev = self.repo.changelog.rev(n),
                      p1 = hex(p1),