Folders skipped when updating SVN?
When updating my checked out directory with TortoiseSVN, some subfolders are listed as "Skipped" even though I know there are updates. Even if I try to update t开发者_如何转开发hat folder alone it will say "Skipped", but still sit there and download MBs of updates.
I have. It generally means something was renamed or deleted in one branch and modified in another. (In your case, the repo and your working copy.) Subversion doesn't handle renames as well as I wish it did. :(
Essentially, this is a conflict -- but svn doesn't treat it like one, kind of. And I think it may behave differently in 1.6 (or maybe 1.5); what version are you using?
You'll have to go looking through the history a bit, along with your local modifications in your working copy and see what files and directories have moved around on either side. Once you've determined that, you can merge the bits and pieces together and move on.
Here's a scenario where you would get the "Skipped..." message upon svn update
:
- checkout a project to, say, C:\MyProject.
- later on, you checkout a subolfer of MyProject (e.g., MyProject/Rqmts) to C:\MyProjects\Rqmts.
- now when you run
svn update
on c:\MyProject, it will skip C:\MyProjects\Rqmts.
In this case, the solution is simple:
- delete the skipped folder (e.g., C:\MyProjects\Rqmts). Be careful not to svn delete (especially if you're using a svn client like subeclipse).
- run
svn update
on C:\MyProjects again. Folder C:\MyProjects\Rqmts will be added to your working copy.
Eric84>dont know why. just copy .svn directory of project directory to new place,and update
@ERic84, since the .svn breadcrumb directory is used by SVN to monitor which files are under version control and which ones aren't, I'd beware of deleting it. I had a "skipped" problem and in my case deleting it for fun made the problem worse. The "skipped" message did not go away and the files that were supposed to be under SVN control were no longer getting their TortoiseSvn icons. Significantly, svn update did not restore the breadcrumb.
//I don't have a "reply" button available.
精彩评论