[REGRESSION] bzr 2.1 @ windows: bzr eats double backslashes in the command line

Alexander Belchenko bialix at ukr.net
Mon Mar 29 10:17:51 BST 2010


Martin Pool пишет:
> On Mon, 29 Mar 2010 10:47:50 +0300
> Alexander Belchenko <bialix at ukr.net> wrote:
>>
>> The bug https://bugs.launchpad.net/bzr/+bug/528944 is very serious 
>> regression and I've supposed it will be fixed in 2.1. Apparently it's 
>> not. There is one more bug report about this problem.
>>
>> Gordon, what are your plans on the backport of the fix?
>>
>> It seems I have to provide workaround in the QBzr itself. :-/
> 
> So from reading the bug report and the linked msdn page, it seems that
> a closer implementation of
> <http://msdn.microsoft.com/en-us/library/bb776391(VS.85).aspx> would
> work for you, ie 
> 
>>> n backslashes not followed by a quotation mark simply produce n
>>> backslashes.
> 
> or is something more needed?

No, only this behavior needed. So UNC paths like 
\\server\directory\repo\branch will work for the windows people.

> If we're clear on what's needed it does not seem like it should be very
> hard to fix.

Yes. I was busy last weeks and lost the track of this bug. Apparently I 
can provide workaround in QBzr to avoid passing command-line with 
backslashes to subprocess and only using temporary file. The bad thing 
is both bzr and QBzr missed the fix/workaround for this problem.



More information about the bazaar mailing list