mirror of
https://github.com/vitalif/viewvc-4intranet
synced 2019-04-16 04:14:59 +03:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
cf7c087fbd | ||
![]() |
b815e6ece7 | ||
![]() |
c35dabcaeb | ||
![]() |
f45b5f8d7f |
5
CHANGES
5
CHANGES
@@ -1,8 +1,3 @@
|
|||||||
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)
|
Version 0.9.1 (released 26-Dec-2001)
|
||||||
|
|
||||||
* fix a problem with some syntax in ndiff.py which isn't compatible
|
* fix a problem with some syntax in ndiff.py which isn't compatible
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
|
||||||
__version__ = '0.9.2'
|
__version__ = '0.9.1'
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
#
|
#
|
||||||
@@ -2184,8 +2184,6 @@ class DiffSource:
|
|||||||
self.left = None
|
self.left = None
|
||||||
self.right = None
|
self.right = None
|
||||||
self.state = 'no-changes'
|
self.state = 'no-changes'
|
||||||
self.left_col = [ ]
|
|
||||||
self.right_col = [ ]
|
|
||||||
|
|
||||||
def __getitem__(self, idx):
|
def __getitem__(self, idx):
|
||||||
if idx == self.idx:
|
if idx == self.idx:
|
||||||
@@ -2215,10 +2213,9 @@ class DiffSource:
|
|||||||
self.save_line = None
|
self.save_line = None
|
||||||
else:
|
else:
|
||||||
line = self.fp.readline()
|
line = self.fp.readline()
|
||||||
|
|
||||||
if not line:
|
if not line:
|
||||||
if self.state == 'no-changes':
|
if self.state == 'no-changes':
|
||||||
self.state = 'done'
|
self.state == 'done'
|
||||||
return _item(type='no-changes')
|
return _item(type='no-changes')
|
||||||
|
|
||||||
# see if there are lines to flush
|
# see if there are lines to flush
|
||||||
@@ -2609,12 +2606,10 @@ def main():
|
|||||||
else:
|
else:
|
||||||
# if the file is in the Attic, then redirect
|
# if the file is in the Attic, then redirect
|
||||||
idx = string.rfind(full_name, '/')
|
idx = string.rfind(full_name, '/')
|
||||||
attic_name = full_name[:idx] + '/Attic' + full_name[idx:]
|
attic_name = full_name[:idx] + '/Attic' + full_name[idx:] + ',v'
|
||||||
if os.path.isfile(attic_name + ',v') or \
|
if os.path.isfile(attic_name):
|
||||||
full_name[-5:] == '.diff' and os.path.isfile(attic_name[:-5] + ',v'):
|
|
||||||
idx = string.rfind(url, '/')
|
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')
|
error('%s: unknown location' % request.url, '404 Not Found')
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td align=center valign=top bgcolor="white" width="1%">
|
<td align=center valign=top bgcolor="white" width="1%">
|
||||||
<b>Quickstart:</b>
|
<b>Quickstart:</b>
|
||||||
<a href="viewcvs-0.9.2.tar.gz">download</a>
|
<a href="viewcvs-0.9.1.tar.gz">download</a>
|
||||||
</td>
|
</td>
|
||||||
<td width="1%"><a href="http://sourceforge.net/"><img border=0
|
<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>
|
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:
|
The software is available for download:
|
||||||
</p>
|
</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<a href="viewcvs-0.9.2.tar.gz">Version 0.9.2 of ViewCVS as a gzipped
|
<a href="viewcvs-0.9.1.tar.gz">Version 0.9.1 of ViewCVS as a gzipped
|
||||||
tar</a>
|
tar</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="viewcvs-0.9.2.zip">Version 0.9.2 of ViewCVS as a ZIP
|
<a href="viewcvs-0.9.1.zip">Version 0.9.1 of ViewCVS as a ZIP
|
||||||
file</a>
|
file</a>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<p>
|
<p>
|
||||||
@@ -299,7 +299,7 @@
|
|||||||
<address><a href="mailto:viewcvs@lyra.org">ViewCVS Users Group</a></address>
|
<address><a href="mailto:viewcvs@lyra.org">ViewCVS Users Group</a></address>
|
||||||
<!-- Created: Fri Dec 3 02:51:37 PST 1999 -->
|
<!-- Created: Fri Dec 3 02:51:37 PST 1999 -->
|
||||||
<!-- hhmts start -->
|
<!-- hhmts start -->
|
||||||
Last modified: Tue Jan 15 01:51:03 PST 2002
|
Last modified: Wed Dec 26 21:15:40 PST 2001
|
||||||
<!-- hhmts end -->
|
<!-- hhmts end -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user