If I right-click on a folder in my project and do an TortoiseSVN->Rename, it thinks a while and then tells me Can't move X to Y: Access Denied
. But from a colleagues machine it works ok, and I can do rename files no problem. What gives?
Renaming a file. Normally you can just use SVN Rename on the context menu. This is analogous to the Move command described in the Moving or Copying a file recipe. It is almost as if you are doing two separate steps: an Add operation with the new name and a Delete operation of the old name.
If you right-drag the folder and use "SVN move versioned item(s) here", then you keep the history. Even the history of the files within the folder.
As suggested in the comments, the problem could be that the folder or one of its contained items is open. See How do you find what process is holding a file open in Windows? for ways to find out what's locking the files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With