bazaar and ftp?

Michael Reiland michael.reiland at gmail.com
Tue Feb 6 23:12:40 GMT 2007


I'm trying to get bazaar working over an ftp connection.  All machines will
be running win2k or newer.

I've configured everything, created a test repository on the remote machine,
checked out said repository on my local machine.

When I try to commit it I get the following error:
bzr: ERROR: Generic path error: '/bzr_test/.bzr/branch/revision-history':
could not store: 550 /bzr_test/.bzr/branch/revision-history: Cannot create a
file when that file already exists



I've looked at the FTP logs and this is what I see:

[75]appended /bzr_test/.bzr/repository/revisions.kndx 226
[75]created /bzr_test/.bzr/branch/revision-history.tmp.1170799705.375000000.2808.1182493188
226
[75]RNFR /bzr_test/.bzr/branch/revision-history.tmp.1170799705.375000000.2808.1182493188
350
[75]RNTO /bzr_test/.bzr/branch/revision-history 550



As far as I can tell bazaar is creating a temp file then attempting to copy
it over to the actual file at which time the FTP server responds with 550.
Thinking that it may be the FTP server I installed Filezilla and received
the same error.

Digging around in the source I found the following in
bzrlib/transport/ftp.py:

def cmd_rnfr(self, line):
            """Prepare for renaming a file."""
            self._renaming = line[1]
            self.respond('350 Ready for RNTO')
            # TODO: jam 20060516 in testing, the ftp server seems to
            #       check that the file already exists, or it sends
            #       550 RNFR command failed


Is Bazaar broken in this respect?  Or am I (hopefully) way off base?  If so
I'd really love to know how to solve this issue.



Thanks,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20070206/71366af9/attachment.htm 


More information about the bazaar mailing list