bazaar and ftp?

John Arbash Meinel john at arbash-meinel.com
Thu Feb 8 19:30:17 GMT 2007


Michael Reiland wrote:
> The bug has been reported.
> 
> Thanks for the feedback guys, if I get the time this weekend I might look
> into implementing a workaround for it.
> 
> - Michael

You probably can just use 'osutils.fancy_rename()'
Which handles the logic of renaming the target out of the way, and
renaming the source into place. It is used by sftp, so it takes a couple
parameters that allow you to provide custom actions at the right time.

The downside is that not all ftp servers need it. So it is unnecessary
overhead.

However, we don't do atomic put as often as we used to. So there
shouldn't be a lot of overhead.

John
=:->




More information about the bazaar mailing list