Re: [viewvc-dev] Bug in directory diffs.

"C. Michael Pilato" <[email protected]> Tue, 01 Nov 2011 09:40:07 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
------=_Part_23370_617158348.1320154823922
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On 11/01/2011 09:26 AM, C. Michael Pilato wrote:
> I noticed today that diffs on the root directory don't seem to work in tr=
unk.
>=20
>> 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_viewv=
c
>>     self.view_func(self)
>>   File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 3528, in view_dif=
f
>>     left_side_content, left_side_prop =3D diff_side_item(request, p1, re=
v1, sym1)
>>   File "/usr/local/viewvc-1.2-dev/lib/viewvc.py", line 3273, in diff_sid=
e_item
>>     0, 1, {})[-1]
>> IndexError: list index out of range
>=20
> 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 directo=
ries.

Found it.  Fixed in r2659.

--=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=
870481

To unsubscribe from this discussion, e-mail: [[email protected]=
.org].
------=_Part_23370_617158348.1320154823922
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)

iEYEARECAAYFAk6v9rcACgkQokEGqRcG/W4BsgCfUcVm6vaAgDbabG8h+Z+5xTDj
dzUAoJtEKYQsf+aN2EC2hMYVRrY41hT5
=yn4+
-----END PGP SIGNATURE-----

------=_Part_23370_617158348.1320154823922--