"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/viewvc.py" between
viewvc-1.1.27.tar.gz and viewvc-1.1.28.tar.gz

About: ViewVC is a browser interface for CVS and Subversion version control repositories.

viewvc.py  (viewvc-1.1.27):viewvc.py  (viewvc-1.1.28)
# -*-python-*- # -*-python-*-
# #
# Copyright (C) 1999-2019 The ViewCVS Group. All Rights Reserved. # Copyright (C) 1999-2020 The ViewCVS Group. All Rights Reserved.
# #
# By using this file, you agree to the terms and conditions set forth in # By using this file, you agree to the terms and conditions set forth in
# the LICENSE.html file which can be found at the top level of the ViewVC # the LICENSE.html file which can be found at the top level of the ViewVC
# distribution or at http://viewvc.org/license-1.html. # distribution or at http://viewvc.org/license-1.html.
# #
# For more information, visit http://viewvc.org/ # For more information, visit http://viewvc.org/
# #
# ----------------------------------------------------------------------- # -----------------------------------------------------------------------
# #
# viewvc: View CVS/SVN repositories via a web browser # viewvc: View CVS/SVN repositories via a web browser
# #
# ----------------------------------------------------------------------- # -----------------------------------------------------------------------
__version__ = '1.1.27' __version__ = '1.1.28'
# this comes from our library; measure the startup time # this comes from our library; measure the startup time
import debug import debug
debug.t_start('startup') debug.t_start('startup')
debug.t_start('imports') debug.t_start('imports')
# standard modules that we know are in the path or builtin # standard modules that we know are in the path or builtin
import sys import sys
import os import os
import fnmatch import fnmatch
skipping to change at line 2375 skipping to change at line 2375
escape=1) escape=1)
if request.roottype == 'svn': if request.roottype == 'svn':
row.revision_href = request.get_url(view_func=view_revision, row.revision_href = request.get_url(view_func=view_revision,
params={'revision': file.rev}, params={'revision': file.rev},
escape=1) escape=1)
if request.roottype == 'cvs' and file.rev is not None: if request.roottype == 'cvs' and file.rev is not None:
row.rev = None row.rev = None
if cfg.options.show_logs: if cfg.options.show_logs:
row.log_file = file.newest_file row.log_file = request.server.escape(file.newest_file)
row.log_rev = file.rev row.log_rev = file.rev
if request.roottype == 'svn': if request.roottype == 'svn':
row.log_href = request.get_url(view_func=view_log, row.log_href = request.get_url(view_func=view_log,
where=where_prefix + file.name, where=where_prefix + file.name,
pathtype=vclib.DIR, pathtype=vclib.DIR,
params={}, params={},
escape=1) escape=1)
elif file.kind == vclib.FILE: elif file.kind == vclib.FILE:
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)