A Tortoise Tip and Hotfix Help

August 20, 2007 13:45

When I posted my Vista rant a few weeks back, I listed "Mysterious file locking" as one of my gripes. However, a recent discovery has lead to believe that the blame for this issue may not rest solely on Vista. In the interest of full disclosure, I should admit that I'm back on Vista (64-bit no less - ouch) for a variety of reasons that I won't go into. Let's just say that I figured every operating system deserves a second chance, and fortunately KB938194 and KB938979 have made the daily grind a little less painful.

Does the following scenario sound familiar? You try to delete a folder, but receive a prompt telling you that "access is denied." Setting security permission and taking ownership of the folder does not help. However, if you delete everything inside it the folder first, you can remove it without problem. With a little help from handle.exe, I discovered that in my case the source of the problem was actually TortoiseSVN, or more specifically TSVNCache.exe, which retaining handles on these folders that I was unable to delete.

By default, TortoiseSVN will attempt to monitor the status of all directories on all drives, adjusting file and folder icons to reflect that current state of versioned files and folders. However, if you attempt to keep any order to your development projects (or even if you don't) the actual paths on your machine that need to be monitored represent only a subset of the overall directory. This means TortoiseSVN is spending a lot of effort (and disk I/O) watching irrelevant directories. Fortunately, there's a simple way to control this which directories TortoiseSVN will monitor. From the TortoiseSVN help file:

"TSVNCache.exe also uses these paths to restrict its scanning. If you want it to look only in particular folders, disable all drive types and include only the folders you specifically want to be scanned."

To make this adjustment, simply open up your TortoiseSVN settings (right click on any folder and select TortoiseSVN > Settings) and select Look and Feel > Icon Overlays.

Your settings will probably look like the following: 

image

To restrict the monitored paths, uncheck Fixed drives and then use the Exclude paths and Include paths values to narrow the scanning. If the specified directories should be acted on recursively, make sure you add a * to the end of the path.

image

Sure enough, once I made this change, the folder locking problem disappeared. Hooray for small victories!

Escape from Hotfix Hell

If you ever had to get a hotfix from Microsoft PSS, you know what a time consuming process it can be. You can spend upwards of half an hour on hold before reaching a screener, and subsequently an engineer, both of whom you'll need to convince that you are indeed to experiencing the problem that the hotfix addresses. So needless to say, I was thrilled when I discovered the following page this morning:

Hotfix Request Web Submission Form

Kudos to Microsoft for finally making it easier to get hotfixes! 


14 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

Related posts

Comments

February 21. 2008 17:25

pingback

Pingback from blog.blergh.be

Inferis’ Mind Dump » Blog Archive » links for 2008-02-21

blog.blergh.be

April 6. 2008 20:41

pingback

Pingback from dialogbox.org

Dialog Box

dialogbox.org

April 24. 2008 19:03

trackback

Trackback from Coding Horror

Setting up Subversion on Windows

Coding Horror

April 27. 2008 17:43

pingback

Pingback from jeremyosborne.com

discover fire » Open Source Life: Subversion, a revision control system (part 3 of 3)

jeremyosborne.com

December 5. 2008 05:53

pingback

Pingback from zakariarouf.wordpress.com

Setting up Subversion on Windows « Zakaria Bin Abdur Rouf

zakariarouf.wordpress.com

October 15. 2009 13:18

pingback

Pingback from endorfine.od.ua

Setting up Subversion on Windows - endo – Luxury Web Development

endorfine.od.ua

April 18. 2010 23:50

pingback

Pingback from sochinda.wordpress.com

Setting up Subversion on Windows « Sochinda's Blog

sochinda.wordpress.com

April 24. 2010 08:42

pingback

Pingback from struts2spring.wordpress.com

Subversion server and client going on Windows « struts2spring

struts2spring.wordpress.com

May 6. 2010 01:54

pingback

Pingback from endyear2012.com

final test pingback from « End Year 2012

endyear2012.com

August 14. 2010 23:34

pingback

Pingback from websiteofthestate.interactiveinfonet.info

Web site of the state - State web - Ms site state web

websiteofthestate.interactiveinfonet.info

August 23. 2010 18:36

pingback

Pingback from alabamaweddings.interactiveinfonet.info

Alabama weddings - Alabama reception - Alabama photography wedding

alabamaweddings.interactiveinfonet.info

September 13. 2010 19:43

pingback

Pingback from jessicapicturesimpson.interactiveinfonet.info

Jessica john mayer picture simpson together - Picture simpson - Jessica picture simpson

jessicapicturesimpson.interactiveinfonet.info

March 6. 2011 08:40

pingback

Pingback from reportsoftware.superinfomax.in

School report card software

reportsoftware.superinfomax.in

December 23. 2011 20:22

pingback

Pingback from atm-lol.net

horoscopes

atm-lol.net

Comments are closed