[PATCH] win32 ScratchBranch must close lockfile before deleting
Michael Ellerman
michael at ellerman.id.au
Wed Jun 1 05:08:49 BST 2005
On Wed, 1 Jun 2005 12:20, John A Meinel wrote:
> John A Meinel wrote:
> > On windows, a file cannot be deleted if it is already open. Since
> > Branch() holds the lockfile open ScratchBranch() has to close it before
> > shutil.rmtree will work.
> >
> > Attached is a patch that just closes self._lockfile() before deleting.
> > This makes all self-tests pass.
> >
> > All of the tests still don't pass, since .bzrignore is still being
> > read/written in the wrong format (binary versus non-binary).
> >
> > This is a patch against bzr 611.
> >
> > John
> > =:->
>
> Attaching the patch, and a small comment.
Oops. I guess Thunderbird doesn't have the feature of Kmail or Evolution which
spots the word "Attaching" and prompts you when you forget the attachment. Go
Linux =D
--
Michael Ellerman
IBM OzLabs
email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050601/d1382b41/attachment.pgp
More information about the bazaar
mailing list