bzr on Windows

Nir Soffer nirs at actcom.net.il
Sun Sep 4 11:45:59 BST 2005


On 4 Sep, 2005, at 6:09, Aaron Bentley wrote:

> One thing about os.rename is that it's an atomic operation.  
> shutil.move
> isn't.

os.rename on Windows is not atomic 
(http://docs.python.org/lib/os-file-dir.html):

	"On Windows, if dst already exists, OSError will be raised even if it 
is a file; there may be no way to implement an atomic rename when dst 
names an existing file."


Best Regards,

Nir Soffer





More information about the bazaar mailing list