[RFC] strip out trailing quote character in file paths?
Alexander Belchenko
bialix at ukr.net
Wed Dec 5 18:08:18 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley пишет:
> John Yates wrote:
>> On Wed. 2007-12-05 Alexander Belchenko wrote:
>
>>> Windows does not allow such character in paths when someone try to
>>> create new file or directory (actually list of forbidden characters
>>> is \ / : * ? " < > | ).
>> So I am sitting at a Linux box. I initiate an upstream branch and hope
>> to enlist Windows developers in my project. Is there anyway that I can
>> configure my branch so that neither I nor any downstream Linux developer
>> can (accidentally?) shaft those Windows developers (e.g. by adding a
>> name that creates a case alias or includes a forbidden character)?
>
> Not at present. A modification of earlier ideas would be to have a
> user-configurable "cross-platform" flag on WorkingTree. With that flag
> active, Bazaar would refuse to add files with filenames that were not
> cross-platform-compatible.
>
> E.g. it could refuse
> 1. names containing any Windows special characters.
> 2. windows special names CON, LPT1, etc.
> 3. filenames that differ only in case from filenames already present.
IIUC, right now it's only possible with some hypothetical pre-commit plugin?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHVukSzYr338mxwCURAgIbAJ46Ult7dgvK3rLg1f9R8/gfo4+F6QCgk4gN
GYzuH0hubfv0LzCeY5zn63Y=
=wooV
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list