Re: Problem when testing on Windows
- From:
- Rafael Martins
- Date:
- 2011-08-27 @ 23:13
Hi Ali,
On Fri, Aug 26, 2011 at 10:14 AM, Ali Kefia <ali.kefia@gmail.com> wrote:
> Dear Rafael,
>
> I sent this to the mailing list and I have not answer. Can you confirm to me
> that you got the message ?
No, we don't got your message, probably you need to send an empty
email to the list to subscribe, before send messages.
> Regards and sorry for disturbing,
> Ali
>
> -------- Message original --------
> Sujet: Problem when testing on Windows
> Date : Tue, 23 Aug 2011 22:40:05 +0100
> De : Ali Kefia <ali.kefia@gmail.com>
> Pour : blohg@librelist.com
>
> Dear all,
>
> I have a problem when testing with ruserver on windows. I am using the
> Flask test server to validate modifications before deploying.
>
> Description : No page is shown
>
> Analyze : on "getxxx" methods of MercurialContent we compare two types
> of paths that are generated from hg and by calling os.path.join. This
> does not work because of :
>
> - os.path uses '\' to separate folders
> - mercurial uses '/' to separate folders
>
> I tested locally by replacing os.path call with a simple string concat
> and things went better. I am not sure this is the best way to do...
Take a look at this bug report:
http://mercurial.selenic.com/bts/issue2875
> Thanks for help
> Ali
>
Thank you,
--
Rafael Goncalves Martins
http://rafaelmartins.eng.br/