[PATCH] AtomicFile on win32 throws if target file doesn't exist

Martin Pool mbp at sourcefrog.net
Thu May 26 03:23:05 BST 2005


On 25 May 2005, John A Meinel <john at arbash-meinel.com> wrote:
> John A Meinel wrote:
> 
> >Right now AtomicFile leaves a bogus file if it is not committed or
> >aborted. The attached patch has it close on deconstruct (which means
> >abort if file is not already closed).
> >
> >John
> >=:->
> 
> Attached is another patch. On win32 AtomicFile removes the file before
> rename, but sometimes the file doesn't exist, throwing an OSError, this
> traps for it.

Thanks, taken.

(By the way, all your gpg signatures seem to be bad.  Is it something
at your end or something in the mailing list?   )

-- 
Martin




More information about the bazaar mailing list