Philip Martin <[email protected]> writes:
> Paul Burba <[email protected]> writes:
>
>> I'm able to replicate this failure on my Windows box with my own
>> builds of trunk@1245285, 1.7.0 and 1.7.3. Alexey's script works as
>> expected with 1.6.17, so this appears to be a regression. Moving back
>> to the dev list.
>>
>> Investigating...
>
>>> svn: E720005: Can't move 'C:\t\wc\.svn\tmp\svn-8ED6923C' to
>>> 'C:\t\wc\externals-container-copy': Access is denied.
>
> I suspect this is a directory move. Perhaps the wc.db file of the
> external is still open? Can a directory be renamed on Windows when one
> of the files inside it is still open?
Stopping in svn_io_file_rename on Linux I see:
Breakpoint 2, svn_io_file_rename (
from_path=0x6b78e0 "/home/pm/sw/subversion/obj/wc/.svn/tmp/svn-E0d1tM",
to_path=0x685508 "/home/pm/sw/subversion/obj/wc/ecc", pool=0x6b5978)
and
$ ls -l /proc/10833/fd | grep subver
lrwx------ 1 pm pm 64 Feb 17 15:53 7 -> /home/pm/sw/subversion/obj/wc/.svn/wc.db
lrwx------ 1 pm pm 64 Feb 17 15:53 9 ->
/home/pm/sw/subversion/obj/wc/.svn/tmp/svn-E0d1tM/e1/.svn/wc.db
so we are renaming a dir while a wc.db is open.
--
Philip