Re: [viewvc-dev] r2674 (Fix annotate views using urllib.pathname2url) breaks annotate on windows

"C. Michael Pilato" <[email protected]> Fri, 06 Jan 2012 16:32:08 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
------=_Part_3029_851513123.1325885541846
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

On 01/06/2012 03:23 PM, Jens Peters wrote:
> Original version:
> -> rootpath    str: D:\\var\\svn\\repos\\misc
>=20
> drive, rootpath =3D os.path.splitdrive(rootpath)
> -> drive    str: D:
> -> rootpath    str: \\var\\svn\\repos\\misc
>=20
> rootpath =3D os.path.abspath(rootpath)
> -> rootpath    str: D:\\var\\svn\\repos\\misc

Aha!  I was trying to reproduce this on Linux using the ntpath module
directly, but forgot that even using that module, I'll never see the
re-addition of a drive letter from .abspath() like you would on a real
Windows system.

I'll commit your fix ASAP.

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

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

iEYEARECAAYFAk8HaFgACgkQokEGqRcG/W6unQCgiW5+2KkJLtv8yDZis1zYZ5eC
LPkAn0FHTgkjB9QYlKAlF4wzd9Pw0uRJ
=mL5R
-----END PGP SIGNATURE-----

------=_Part_3029_851513123.1325885541846--