Windows 7 and TortoiseSVN: Can’t move … The file or directory is corrupted and unreadable.
by B.Russell on Feb.12, 2010, under Development, Tips and Tricks
I recently upgraded to Windows 7 64-bit OS from a Vista OS. I’m loving every minute of it at the moment. One problem I have ran into that appears to be happening with others is the fact TortoiseSVN will puke randomly on updates from a SVN grab. You can see it especially on large SVN checkouts. I have read numerous posts on the matter and I am posting what actually worked for me.
First I make sure any folder that I’m using for a SVN checkout is not flagged for Windows Search Indexing. You can get to this property by right-clicking on the parent folder and select Properties -> Advanced -> Uncheck index for faster searches.
The next item to make sure of is adding the following apps to your Trusted & Exclusion rules inside your Anti-virus \ Protection program of choice.
- SearchFilterHost.exe (C:\Windows\System32)
- SearchProtocolHost.exe (C:\Windows\System32)
- TSVNCache.exe (<TortoiseSVN_dir>\bin)
- TortoiseProc.exe (<TortoiseSVN_dir>\bin)
For me, I use Kaspersky 2010. So I had to go into Settings -> Threats … then add TSVNCache and TortoiseProc to their own Exclusion rules telling it to not use <any> on each. I then went to the Trusted Apps tab on the same window and added SearchFilterHost and SearchProtocolHost both as TrustedApps and not take any action on either one. Your protection\anti-virus app may be different of course but the main concept here is to tell it don’t do anything if either 2 of those Tortoise apps are running. The same applies to the Windows Search Indexer, b\c I found that even though you tell the directory DO NOT INDEX, as we did in the first step, there is still things going on in the background which will still negate this whole processs if you just add the 2 Tortoise apps to your Trusted + Exclussion zone in your Anti-virus \ Protection app.
I tried not adding the 2 Windows Search Indexer apps to my Trusted \ Exclussion zones and the problem would only rarely occur, but it STILL occurred. It was only after adding those 2 with the Tortoise apps that the problem ceased to occur any more.
I hope this helps your situation, I enjoy Windows 7 and I can’t live without TortoiseSVN for my work.
-Brandon
2 Comments for this entry
10 Trackbacks / Pingbacks for this entry
-
DON
June 25th, 2010 on 4:58 pmPillSpot.org. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.PillSpot.org. Herbal-supplements@buy.online” rel=”nofollow”>.…
Categories: Eye Care.Anti-allergic/Asthma.Antiviral.Anxiety/Sleep Aid.Blood Pressure/Heart.Mens Health.Antibiotics.Womens Health.Mental HealthVitamins/Herbal Supplements.Stop SmokingAntidiabetic.Weight Loss.Stomach.Skin Care.Pain Relief.Antidepres…
-
WENDELL
July 21st, 2010 on 12:23 pmBuy:Lipitor.Buspar.SleepWell.Zocor.Zetia.Amoxicillin.Seroquel.Lipothin.Benicar.Ventolin.Prozac.Advair.Acomplia.Female Cialis.Lasix.Nymphomax.Female Pink Viagra.Wellbutrin SR.Cozaar.Aricept….
-
M Support zen labs/
August 29th, 2010 on 2:02 amVision http://01DODGEPARTS.US/tag/Vision : M Support zen labs/…
Vision…
-
DVD-RW
August 29th, 2010 on 2:27 amDVD-RW http://04FORDPARTS.US/tag/DVD-RW 10 : 00a rw NEC/…
DVD-RW…
-
entertainment
August 29th, 2010 on 4:29 amarmoire http://hyamahahvhloow.ACEHARDWAREE.INFO/tag/entertainment+center+armoire+40/ : entertainment…
armoire…
-
Extinguisher
August 29th, 2010 on 3:34 pmRecessed http://fcatouw0x.01DODGEPARTS.US/tag/Recessed+Extinguisher+Cabinets/ : Recessed…
Cabinets…
-
Discount
August 29th, 2010 on 8:26 pmDiscount http://xbrownovzvjm.bestpartsstore.info/tag/Discount+white+Bedding/ : white…
white…
-
PHILLIP
September 5th, 2010 on 12:15 pmBuy:Nexium.Prevacid.Mega Hoodia.Retin-A.Prednisolone.Lumigan.100% Pure Okinawan Coral Calcium.Arimidex.Petcam (Metacam) Oral Suspension.Zyban.Actos.Accutane.Human Growth Hormone.Synthroid.Valtrex.Zovirax….
February 13th, 2010 on 1:25 am
Just FYI:
There’s a known problem on Win7 with the NTFS file system which can cause some problems (not just for Subversion).
See this thread:
http://tinyurl.com/w7corrupt
and the post from Neal Christiansen.
April 16th, 2010 on 7:51 am
Thanks, I’ll check that out!