[RFC] strip out trailing quote character in file paths?
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Dec 5 17:50:27 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHVuTj0F+nu1YWqI0RAkQ4AJ9dQywbhLacx0Vi65hvalh0vqos+QCfStu6
u7auKlJjpDhrJ0qSoisC5+4=
=QWKH
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list