52
52
def __call__(self, environ, start_response):
55
55
args = self.get_args(environ)
57
57
raise httpexceptions.HTTPMovedPermanently(
58
58
self._branch.absolute_url('/changes'))
59
59
revid = h.fix_revid(args[0])
62
path, filename, content = h.get_file(file_id, revid)
61
path, filename, content = h.get_file(args[1], revid)
64
63
raise httpexceptions.HTTPNotFound()
65
64
mime_type, encoding = mimetypes.guess_type(filename)