Don't use single quotes as quotes in command-line parsing on windows?
Alexander Belchenko
bialix at ukr.net
Sat Nov 7 16:43:24 GMT 2009
Gordon Tyler пишет:
> On 11/7/2009 11:19 AM, John Arbash Meinel wrote:
>> So the point is that it doesn't have to be interpreted that way. I've
>> stayed out of the debate for a bit to see what responses we would get.
>>
>> Obviously I feel that "bzr foo 'ab cd'" should be treated as a single
>> string as it does elsewhere (otherwise I wouldn't have implemented it
>> that way.)
>
> As I said on the merge proposal, the shell is responsible for quoting.
> The tool shouldn't be implementing it.
Gordon, probably it's too hard.
The main purpose of John's patch is to support globs in the command-line
on Windows. Standard Windows shell does not expand globs. So bzr has to
do this itself. But to do it properly bzr should know about quotes. Do
you see?
More information about the bazaar
mailing list