[viewvc-dev] Bug in directory diffs.
"C. Michael Pilato" <[email protected]> Tue, 01 Nov 2011 09:26:38 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
------=_Part_23321_589918529.1320154003683
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
I noticed today that diffs on the root directory don't seem to work in trun=
k.
> Traceback (most recent call last):
> File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 4730, in main
> request.run_viewvc()
> File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 393, in run_viewvc
> self.view_func(self)
> File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 3528, in view_diff
> left_side_content, left_side_prop =3D diff_side_item(request, p1, rev=
1, sym1)
> File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 3273, in diff_side=
_item
> 0, 1, {})[-1]
> IndexError: list index out of range
This appears at first glance to be a problem down in the vclib layer. I'll
see what I can find. It doesn't seem to be an issue for non-root directori=
es.
--=20
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Distributed Development On Demand
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=3D4251&dsMessageId=3D2=
870471
To unsubscribe from this discussion, e-mail: [[email protected]=
.org].
------=_Part_23321_589918529.1320154003683
Content-Type: application/pgp-signature; name=signature.asc
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=signature.asc
Content-Description: OpenPGP digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk6v844ACgkQokEGqRcG/W79KwCgwxYpPG+KHX08CrPFg7vnDA3z
cZgAnRWqbYYNK2CRzcLWbS5ELrvl6/3v
=o5cL
-----END PGP SIGNATURE-----
------=_Part_23321_589918529.1320154003683--