[win32] Permission denied in fancy_rename

Alexander Belchenko bialix at ukr.net
Tue May 2 09:24:30 BST 2006


Just for completing the picture.

Attached log from one of failed test. I add to fancy_rename simple 
logging statement:

     mutter("fancy_rename(%r, %r, %r, %r)", old, new, rename_func, 
unlink_func)

 From attached log you can see that all looks correct. So, most likely 
reason to fail fancy_rename is file does not closed after using.

Here is state of directory in which fancy_rename fails (state after 
testing):

Directory content of 
E:\work\Python\bzr\bzr.dev.bialix\test0000.tmp\ns.test_reconcile.TestsNeedingReweave.test_reweave_inventory_wi
thout_revision(RepositoryFormatKnit1)\inventory_without_revision\.bzr\repository

02.05.2006  10:55       <DIR>          .
02.05.2006  10:55       <DIR>          ..
02.05.2006  10:55       <DIR>          lock
02.05.2006  10:55       <DIR>          revision-store
02.05.2006  10:55       <DIR>          knits
02.05.2006  10:55                   34 format
02.05.2006  10:55                   86 inventory.kndx
02.05.2006  10:55                  204 inventory.knit
02.05.2006  10:55                   64 revisions.kndx
02.05.2006  10:55                  252 revisions.knit
02.05.2006  10:55                   19 signatures.kndx
02.05.2006  10:55                    0 signatures.knit
02.05.2006  10:55                   86 inventory.backup.kndx
02.05.2006  10:55                  204 inventory.backup.knit
02.05.2006  10:55                   56 inventory.new.kndx
02.05.2006  10:55                  121 inventory.new.knit
02.05.2006  10:55                   56 inventory.kndx.tmp
02.05.2006  10:55                  121 inventory.knit.1312.bialix.tmp

--
Alexander
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fancy_rename_fail.log
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060502/6445eb73/attachment.diff 


More information about the bazaar mailing list