docB.plain_text.splitlines(), context=3))
+@never_cache
+@normalized_name
+def revision(request, name):
+ storage = getstorage()
+
+ try:
+ return http.HttpResponse(str(storage.doc_meta(name)['revision']))
+ except DocumentNotFound:
+ raise http.Http404
+
+
@never_cache
@normalized_name
def history(request, name):