Mon Oct 31 10:24:23 UTC 2005 Michal Sojka * Fix for an error that appears when run on empty repository. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2016-01-28 00:55:13.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2016-01-28 00:55:14.000000000 +0000 @@ -1117,7 +1117,8 @@ print '' print ' ' % config.repodesc print ' ' % escape(owner) - print ' ' % \ + if len(ps) > 0: + print ' ' % \ ps[0].local_date_str print ' ' %\ { 'url': config.repourl }
description%s
owner%s
last change%s
last change%s
url%(url)s