changeset 376:fadc9e126369

hgweb: fix deleted file in filediff key error -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hgweb: fix deleted file in filediff key error manifest hash: f751d213d2d2d49b3631dbe72699554e58ae590a -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCsQOVW7P1GVgWeRoRAvRAAJ9cLxO+QLg6gEnn/0XPZJP1G/8/KQCfdygL b+awDXRJmE0onoNzvzzIcBg= =jDV4 -----END PGP SIGNATURE-----
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 16 Jun 2005 05:44:05 +0100
parents 6e3436082697
children e5d769afd3ef
files mercurial/hgweb.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Wed Jun 15 19:52:41 2005 -0800
+++ b/mercurial/hgweb.py	Thu Jun 16 05:44:05 2005 +0100
@@ -562,7 +562,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),