TortoiseSVN and Windows 7, and how I made them play nice


I’ve been pulling my hair out for weeks with TortoiseSVN ever since I updated to Windows 7, and boy has it been a giant pain in the ass. Sometimes updates and check-outs worked, sometimes not. Sometimes I could commit, sometimes not. Sometimes the icons appeared, sometimes not. I’ve tried reinstalling TortoiseSVN, I’ve tried registry hacks, I’ve tried everything that Google told me to try and still no joy…

Here’s my setup, and here’s what fixed it…

Windows 7 Ultimate 64
TortoiseSVN 1.6.6
Netbeans 6.8
BitDefender2010

Wait… BitDefender? Why does that matter? Honestly, I have no idea… But switching off the firewall and real time protection, doing my updates, and turning them back on fixed my checkout/update/commit issues.

How did I figure this out?

In an act of desperation I booted my machine up in Safe Mode + Networking (most of you probably already know how to do this, if not let me help you.) Safe Mode + Networking loads Windows up in a bare bones environment plus allows internet access (but still used 800MB of RAM in my case, blech…)

Anyhow, I noticed right off the bat that BitDefender wasn’t running, and everything worked perfectly. A quick reboot back to reality, and disabling my anti-virus and TortoiseSVN was good-to-go. Well, almost… The icons are still screwy, and for me the only ones that appear in the file area are the changed ones. No green check boxes for me, but at least I can see changed files.

So for everyone out there that’s about to have a stroke this holiday season from not being able to commit code changes on time, try disabling your anti-virus and firewall before admitting total defeat and see if it helps.

I wonder how long it takes for self-inflicted bald spots to fill back in… Hmm…

, ,

  1. #1 by Jeremy on January 10, 2010 - 5:10 pm

    Wow, thank you so much! That was exactly my problem… it was BitDefender Internet Security 2010… This had me so frustrated for weeks! You can also have TortoiseSVN work without disabling you Virus Protection :) Heres how, if you did not know already. First Open BitDefender2010 (Duh) -> Antivirus Tab -> In the Antivirus Section go to the ‘Shield’ Tab (it’s usually the default Tab) -> Under ‘Protection Level’ click the ‘Advanced Settings’ button -> Under the Exclusions section there should be a box where you can add programs and files to be excluded from being blocked -> Click the little ‘+’ box (Left of the little box with and arrow in it) -> Then go to “C:\Program Files\TortoiseSVN\bin” (Or where ever you installed TortoiseSVN to) -> Click the ‘TortoiseProc.exe’ and Hit ‘Open’. Then in the box under the Exclusions Section it should read something like this. Path: “C:\Program Files\TortoiseSVN\bin” (Or where ever you installed TortoiseSVN) and then under Action it should say Allowed. After you do that click ‘OK’ then you can re-enable your Virus Protection (if it was not already before) and now you can run TortoiseSVN without having to disable the Virus Shield :)

(will not be published)