push to a windows ftp server

Stefan Reichör stefan at xsteve.at
Thu Jun 8 07:47:40 BST 2006


Hi!

I'd like to mirror a bzr repository to a windows ftp server.

I tried the following
# bzr push ftp://user:passwd@xsteve.at/bzr
bzr: ERROR: 550 bzr: Cannot create a file when that file already exists.

I use bzr 0.8.2 on Dapper.

Matthieu Moy has the following explanation for it:
> I suppose this is due to the way bzr handles atomic writes:
>
> Instead of doing
>
>   upload file
>
> it does (conceptually)
>
>   upload <random-temp-name>
>   move <random-temp-name> file
>
> If "file" already existed before, the POSIX semantics tell you that
> "file" atomically becomes the new file. The Windows semantics tells
> you that it's not possible.
>
> I don't know how bzr is supposed to work if the remote server is a
> windows machine.
>
> I suggest that you continue this discussion on the bazaar-ng mailing
> list. They'll be interested in your problem anyway.

Any Ideas?


Stefan.





More information about the bazaar mailing list