Philip Martin <philip.martin_at_wandisco.com> writes:
> Paul Burba <ptburba_at_gmail.com> writes:
>> I'm able to replicate this failure on my Windows box with my own
>> builds of trunk_at_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.
>>> 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 (
to_path=0x685508 "/home/pm/sw/subversion/obj/wc/ecc", pool=0x6b5978)
$ 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.
Received on 2012-02-17 17:01:18 CET