I wanted to move a Subversion repository from a flat structure into the more desirable
My Repository
/trunk
/ branch
/ tag
folder structure. I found the easiest way to do this was to dump the repository to a file, then import it again in the correct location, something like
svnadmin dump C:\Repositories\OldRepo > OldRepoDumpFile
svnadmin load –parent-dir /trunk C:\Repositories\NewRepo < OldRepoDumpFile
On the load though I got the following error, at different times during the import
The requested operation cannot be performed on a file with a user-mapped section open.
This literally means the file is open somewhere else, where??? AVG Anti-Virus (or your virus scanner of choice). I went into AVG, disabled the Resident Shield (temporarily) and the file loaded absolutely fine (and a lot faster to boot).
I wouldn’t switch AVG’s resident shield altogether.
What you can do is open up Resdient Shield, click on Manage Exceptions and add the folder containing the Subversion repository as an exclusion.
Woops, that should have read:
> I wouldn’t switch AVG’s resident shield off altogether.
You are a life saver. Once I disabled my resident shield with AVG it worked fine. I thought it was a Vista problem. I’ll now take William’s advice and alter AVG to excluse my repository directory.
Good tip William, I’ve only had the problem once on my import, but if it comes up again I’ll add an exception thanks.
Problem came up again yesterday and I added an exception, solved it properly now, thanks
Thanks for sharing. I also had this problem, AVG on Windows 7.