Hello,
I just imported a project using the CLI svn.exe application. Tn I wanted to
rename the folder from which I imported from <MyProjectName> to
<MyProjectName_imported> so I could checkout this project and test the
imported results without blindly deleting the original MyProjectName
folder. When I tried this rename, I get and "Access is denied." error
message. By using handle.exe to determine what has this folder locked, I
found that TSVNCache.exe has it locked. Any ideas how to remedy the
situation? See the CLI output below for details. Thanks for your insight.
C:\Projects\MyProjectName>svn import .
svn://svn-servrename/repos-it/MyProjectName -m "-Initial import of the
MyProjectName project"
Adding trunk
Adding trunk\GLOSSARY.txt
. . .
Adding trunk\README.txt
Adding branches
Adding tags
Committed revision 106.
C:\Projects\MyProjectName>cd..
C:\Projects>ren MyProjectName MyProjectName_imported
Access is denied.
C:\Projects>handle MyProjectName
Handle v3.11
Copyright (C) 1997-2005 Mark Russinovich
Sysinternals - www.sysinternals.com
inetinfo.exe pid: 2340 768: C:\Inetpub\wwwroot\MyProjectName
TSVNCache.exe pid: 3588 118: C:\Projects\MyProjectName\tags
TSVNCache.exe pid: 3588 194: C:\Projects\MyProjectName\branches
TSVNCache.exe pid: 3588 198: C:\Projects\MyProjectName\trunk
C:\Projects>iisreset
Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted
C:\Projects>ren MyProjectName MyProjectName_imported
Access is denied.
C:\Projects>handle MyProjectName
Handle v3.11
Copyright (C) 1997-2005 Mark Russinovich
Sysinternals - www.sysinternals.com
TSVNCache.exe pid: 3588 118: C:\Projects\MyProjectName\tags
TSVNCache.exe pid: 3588 194: C:\Projects\MyProjectName\branches
TSVNCache.exe pid: 3588 198: C:\Projects\MyProjectName\trunk
inetinfo.exe pid: 2744 654: C:\Inetpub\wwwroot\MyProjectName
C:\Projects>net stop w3svc
The World Wide Web Publishing service is stopping.
The World Wide Web Publishing service was stopped successfully.
C:\Projects>ren MyProjectName MyProjectName_imported
Access is denied.
C:\Projects>handle MyProjectName
Handle v3.11
Copyright (C) 1997-2005 Mark Russinovich
Sysinternals - www.sysinternals.com
TSVNCache.exe pid: 3588 118: C:\Projects\MyProjectName\tags
TSVNCache.exe pid: 3588 194: C:\Projects\MyProjectName\branches
TSVNCache.exe pid: 3588 198: C:\Projects\MyProjectName\trunk
--
Josh Blair
Golden, CO
Received on Thu Jul 26 18:19:56 2007