Comment 2 for bug 850004

Revision history for this message
André Bachmann (andrebachmann-dd) wrote : Re: NoSuchFile on .bzr/repository/pack-names after committing in bzr explorer

Ok, this occurs only if I'm working on a network share - I couldn't reproduce it on a local drive.
1. Create directory on a network share (drive P:) with files in it. I called it "Lüftersteuerung" and it contains file1.txt, file2.txt and Lüftersteuerung.txt.
2. run "bzr init" in this directory
3. run "bzr add ." in this directory
4. Open Bazaar Explorer, Ctrl+O, open this directory
5. Click on "Commit"
6. I get the following error:
LockContention: Could not acquire lock "P:/Lüftersteuerung/.bzr/checkout/dirstate": (32, 'CreateFileW', 'Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.')
7. I click on Retry, now the commit works. But there is another error:
NoSuchFile: No such file: u'P:/L\xfcftersteuerung/.bzr/repository/pack-names': [Errno 2] No such file or directory

Results of steps 5 to 7 as shown in Bazaar Explorer:

Run command: bzr commit -m "First commit" Lüftersteuerung.txt file1.txt file2.txt
bzr: ERROR: Could not acquire lock "P:/Lüftersteuerung/.bzr/checkout/dirstate": (32, 'CreateFileW', 'Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.')
Run command: bzr commit -m "First commit" Lüftersteuerung.txt file1.txt file2.txt
Committing to: P:/Lüftersteuerung/
added file1.txt
added Lüftersteuerung.txt
added file2.txt
Committed revision 1.

I attach the complete log of this process. If you need any further information, please let me know. :)