Comment 20 for bug 139253

Revision history for this message
Bo Thorsen (bo.thorsen) wrote : Re: bzr branch fails with "File exists" error.

I have been hit by this bug three times over the last month on Windows 7 64 bit with bzr 2.1.1 and python 2.6.5.

The first two times were with a shared repository version 1.9, tomorrows problem was with version 2a.

I have an automated build system running, which may have been killed during a bzr operation.

I don't think this was the case with the others, but with this one I hit a lock on a branch that I had to remove with bzr break-lock, and after that, I get:

C:\Users\bo\mp\mariadb>bzr branch lp:~maria-captains/maria/5.1-release 5.1-release
bzr: ERROR (ignored): 'file:///C:/Users/bo/mp/mariadb/.bzr/repository/upload/ifyfp443v9nszroaal9x.pack'
bzr: ERROR: File exists: u'C:/Users/bo/mp/mariadb/.bzr/repository/upload/ifyfp443v9nszroaal9x.pack': [Error 183] En fil,
 som allerede findes, kan ikke oprettes

Sorry about the Danish translations. The error 183 says "A file, that already exists, can't be created".

Maybe it's possible to reproduce the bug by checking out the repository multiple times and kill it each time - not ctrl-C it, but kill the process. And it might have to be on Windows.

Deleting the file in .bzr/repository/upload doesn't help. It complains about a new file on each run.