Mercurial > hg
changeset 265:7ca05593bd30
hgweb: fix non-existent source or destination for diff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hgweb: fix non-existent source or destination for diff
manifest hash: c076bc00ba04911392085f3d0697106f4d24b808
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCpJtjywK+sNU5EO8RAsaTAKCso0BDI3GQxN9ZZRNeMXjeZXCXLgCfYM+R
JpTBR7gUZtV+pEexSfFlRDQ=
=moF8
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Mon, 06 Jun 2005 10:52:19 -0800 |
parents | 4c1d7072d5cd |
children | 4af7677de4a9 |
files | mercurial/hgweb.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb.py Mon Jun 06 10:51:09 2005 -0800 +++ b/mercurial/hgweb.py Mon Jun 06 10:52:19 2005 -0800 @@ -203,12 +203,12 @@ tn = r.file(f).read(mmap2[f]) yield diffblock(mdiff.unidiff(to, date1, tn, date2, f), f, tn) for f in a: - to = "" + to = None tn = r.file(f).read(mmap2[f]) yield diffblock(mdiff.unidiff(to, date1, tn, date2, f), f, tn) for f in d: to = r.file(f).read(mmap1[f]) - tn = "" + tn = None yield diffblock(mdiff.unidiff(to, date1, tn, date2, f), f, tn) def header(self):