|
From: | Thomas Keller |
Subject: | Re: [Monotone-devel] bug report: windows monotone can't check out files with parentheses in the name |
Date: | Mon, 13 Nov 2006 23:46:17 +0100 |
User-agent: | Thunderbird 1.5.0.7 (Macintosh/20060909) |
Jack Lloyd schrieb:
Are you sure it is the parenthesis that is the problem? I had thought that the : character was not allowed in a Windows filename, since it is the seperator between volume name and path. (This seems to be what is said in this MS KB article, as well - http://support.microsoft.com/kb/177506)
I think its the colon as well. How should monotone handle such platform-specific things in the future? I can think of some:
a) prevent adding/renaming files to names with "forbidden" charactersb) serve forbidden characters as placeholders (i.e. ':' is converted to '_' aso.) - however especially for source code control this behavior is not appropriate. c) at least bail out with some nicer error message (and not with "almost certainly a bug in monotone"), like "The file xyz couldn't be checked out on your system because it contains characters in its name which are invalid on this platform. Consider renaming the file first." or something like that.
Thomas. -- - "I know that I don't know." (Sokrates) Guitone, a frontend for monotone: http://guitone.berlios.de Music lyrics and more: http://musicmademe.com
[Prev in Thread] | Current Thread | [Next in Thread] |