Show the raw format in all commitdiff variants.
Wed Sep 7 16:59:10 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Show the raw format in all commitdiff variants.
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2013-07-27 16:58:41.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2013-07-27 16:58:41.000000000 +0000
@@ -325,7 +325,7 @@
# darcs, raw, if available; and only for commitdiff
realf = filter_file(config.repodir + '/_darcs/patches/' + h)
- if action == "commitdiff" and os.path.isfile(realf):
+ if efaction == "commitdiff" and os.path.isfile(realf):
print """
| <a class="link" href="%(myreponame)s;a=raw_%(act)s;%(params)s">raw</a>
""" % { "myreponame": config.myreponame,