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

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

On 01/06/2012 04:32 PM, C. Michael Pilato wrote:
> On 01/06/2012 03:23 PM, Jens Peters wrote:
>> Original version:
>> -> rootpath    str: D:\\var\\svn\\repos\\misc
>>
>> drive, rootpath =3D os.path.splitdrive(rootpath)
>> -> drive    str: D:
>> -> rootpath    str: \\var\\svn\\repos\\misc
>>
>> rootpath =3D os.path.abspath(rootpath)
>> -> rootpath    str: D:\\var\\svn\\repos\\misc
>=20
> 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.
>=20
> I'll commit your fix ASAP.

DONE:

   Sending        lib/vclib/svn/svn_repos.py
   Transmitting file data .
   Committed revision 2714.

Thanks!

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

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

iEYEARECAAYFAk8HaRcACgkQokEGqRcG/W5c7gCgvSn5ugCq0XZz4jWjYhPPCyfZ
eI4AoNCb1kUvow2hjYd4y+cCAJbrF6l0
=KKnA
-----END PGP SIGNATURE-----

------=_Part_3036_1866277011.1325885738951--