'.' or os.curdir?
michael.smith at thalesatm.com
Tue Dec 12 17:16:49 CST 2006
Matt Mackall wrote:
> On Tue, Dec 12, 2006 at 11:58:23PM +0100, Christian Ebert wrote:
>>Looking at the source I saw that '.' is used for the current
>>directory. Wouldn't it make sense to replace that with os.curdir
>>for portability purposes?
> Can you name a supported OS where '.' is not the current directory?
I can't. But in OpenVMS . is not the current directory. You have to
refer to it in absolute terms.
I think it would be good to be as portable as possible, other things
Michael Smith | 61 394 257 560
Team Leader, Tools | 61 416 062 898
Thales Australia | S 37.83150
Richmond, Victoria | E 144.99675
*Confidentiality Notice: This e-mail may contain
confidential and/or privileged information and
is intended solely for the addressee(s) named.
If you have received this information in
error, or are advised that you have been
posted this e-mail by accident, please notify
the sender by return e-mail, do not
redistribute it, delete the e-mail and keep
no copies. *
More information about the Mercurial-devel