* viewcvs/lib/viewcvs.py

(view_revision_svn): Remove.
  (view_revision): Eat up view_revision_svn's little bit o' work.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1120 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
cmpilato 2005-10-10 13:38:58 +00:00
parent 2e9593eff0
commit 0be0bf1e9d
2 changed files with 2 additions and 5 deletions

View File

@ -36,6 +36,7 @@ Congratulations on getting this far. :-)
(http://subversion.tigris.org/)
Optional:
* a web server capable of running CGI programs
(for example, Apache at http://httpd.apache.org/)
* MySQL to create and query a commit database

View File

@ -2752,15 +2752,11 @@ def download_tarball(request):
fp.close()
def view_revision(request):
data = common_template_data(request)
if request.roottype == "cvs":
raise ViewCVSException("Revision view not supported for CVS repositories "
"at this time.", "400 Bad Request")
else:
view_revision_svn(request, data)
def view_revision_svn(request, data):
data = common_template_data(request)
query_dict = request.query_dict
date, author, msg, changes = vclib.svn.get_revision_info(request.repos)
date_str = make_time_string(date)