"bzr status" fails due to lock by "bzr commit"

Eli Zaretskii eliz at gnu.org
Sat Jan 9 07:57:10 GMT 2010


> Date: Fri, 08 Jan 2010 16:54:41 -0600
> From: John Arbash Meinel <john at arbash-meinel.com>
> CC: robertc at robertcollins.net, bazaar at lists.canonical.com
> 
> Sorry I missed one of the other key bits. Namely:
>     tmp_fileno, msgfilename = tempfile.mkstemp(prefix='bzr_log.',
>                                                dir='.',
>                                                text=True)
>     msgfilename = osutils.basename(msgfilename)
> 
> ^- That second line changes the code to only return the relative path of
> the temporary file. So what you want to end up with is:
>     tmp_fileno, msgfilename = tempfile.mkstemp(prefix='bzr_log.',
> #                                               dir='.',
>                                                text=True)
> #    msgfilename = osutils.basename(msgfilename)

Thanks, this works.

May I request that this will be in a future release, as an option if
not as the default?

Thanks again for your help.



More information about the bazaar mailing list