mirror of
https://github.com/vitalif/viewvc-4intranet
synced 2019-04-16 04:14:59 +03:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
dad5311a28 |
12
CHANGES
12
CHANGES
@@ -1,3 +1,15 @@
|
||||
Version 0.9.2 (released 15-Jan-2001)
|
||||
|
||||
* fix redirects to Attic for diffs
|
||||
* fix diffs that have no changes (causing an infinite loop)
|
||||
|
||||
Version 0.9.1 (released 26-Dec-2001)
|
||||
|
||||
* fix a problem with some syntax in ndiff.py which isn't compatible
|
||||
with Python 1.5.2 (causing problems at install time)
|
||||
* remove a debug statement left in the code which continues to
|
||||
append lines to /tmp/log
|
||||
|
||||
Version 0.9 (released 23-Dec-2001)
|
||||
|
||||
* create templates for the rest of the pages: markup pages, graphs,
|
||||
|
@@ -25,7 +25,7 @@
|
||||
# -----------------------------------------------------------------------
|
||||
#
|
||||
|
||||
__version__ = '1.0-dev'
|
||||
__version__ = '0.9.2'
|
||||
|
||||
#########################################################################
|
||||
#
|
||||
@@ -2184,6 +2184,8 @@ class DiffSource:
|
||||
self.left = None
|
||||
self.right = None
|
||||
self.state = 'no-changes'
|
||||
self.left_col = [ ]
|
||||
self.right_col = [ ]
|
||||
|
||||
def __getitem__(self, idx):
|
||||
if idx == self.idx:
|
||||
@@ -2199,7 +2201,6 @@ class DiffSource:
|
||||
if item:
|
||||
self.idx = idx
|
||||
self.last = item
|
||||
open('/tmp/log','a').write('idx=%d item=%s\n' % (idx,vars(item)))
|
||||
return item
|
||||
|
||||
def _get_row(self):
|
||||
@@ -2214,9 +2215,10 @@ class DiffSource:
|
||||
self.save_line = None
|
||||
else:
|
||||
line = self.fp.readline()
|
||||
|
||||
if not line:
|
||||
if self.state == 'no-changes':
|
||||
self.state == 'done'
|
||||
self.state = 'done'
|
||||
return _item(type='no-changes')
|
||||
|
||||
# see if there are lines to flush
|
||||
@@ -2607,10 +2609,12 @@ def main():
|
||||
else:
|
||||
# if the file is in the Attic, then redirect
|
||||
idx = string.rfind(full_name, '/')
|
||||
attic_name = full_name[:idx] + '/Attic' + full_name[idx:] + ',v'
|
||||
if os.path.isfile(attic_name):
|
||||
attic_name = full_name[:idx] + '/Attic' + full_name[idx:]
|
||||
if os.path.isfile(attic_name + ',v') or \
|
||||
full_name[-5:] == '.diff' and os.path.isfile(attic_name[:-5] + ',v'):
|
||||
idx = string.rfind(url, '/')
|
||||
redirect(url[:idx] + '/Attic' + url[idx:])
|
||||
redirect(url[:idx] + '/Attic' + url[idx:] + \
|
||||
'?' + compat.urlencode(query_dict))
|
||||
|
||||
error('%s: unknown location' % request.url, '404 Not Found')
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
</td>
|
||||
<td align=center valign=top bgcolor="white" width="1%">
|
||||
<b>Quickstart:</b>
|
||||
<a href="viewcvs-0.9.tar.gz">download</a>
|
||||
<a href="viewcvs-0.9.2.tar.gz">download</a>
|
||||
</td>
|
||||
<td width="1%"><a href="http://sourceforge.net/"><img border=0
|
||||
src="http://sourceforge.net/sflogo.php?group_id=18760&type=1"></a><br><a href="http://sourceforge.net/projects/viewcvs/">ViewCVS project page</a>
|
||||
@@ -210,10 +210,10 @@
|
||||
The software is available for download:
|
||||
</p>
|
||||
<blockquote>
|
||||
<a href="viewcvs-0.9.tar.gz">Version 0.9 of ViewCVS as a gzipped
|
||||
<a href="viewcvs-0.9.2.tar.gz">Version 0.9.2 of ViewCVS as a gzipped
|
||||
tar</a>
|
||||
<br>
|
||||
<a href="viewcvs-0.9.zip">Version 0.9 of ViewCVS as a ZIP
|
||||
<a href="viewcvs-0.9.2.zip">Version 0.9.2 of ViewCVS as a ZIP
|
||||
file</a>
|
||||
</blockquote>
|
||||
<p>
|
||||
@@ -299,7 +299,7 @@
|
||||
<address><a href="mailto:viewcvs@lyra.org">ViewCVS Users Group</a></address>
|
||||
<!-- Created: Fri Dec 3 02:51:37 PST 1999 -->
|
||||
<!-- hhmts start -->
|
||||
Last modified: Sun Dec 23 03:23:09 PST 2001
|
||||
Last modified: Tue Jan 15 01:51:03 PST 2002
|
||||
<!-- hhmts end -->
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user