# Wednesday, 18 July 2007

I decided a while back that I had too much extraneous junk running on my development machine and it was time to scale back.  Fist to go were Google Desktop, and Microsoft Desktop Search, both of which had been competing to see who could eat the most cycles and thrash my drives the worst.  Next on the list was TortoiseSVN.  Tortoise's cache seemed to be eating an awful lot of CPU time.  "How ever will I manage to deal with SVN without it?", I found myself wondering.  The reply came back "have you become completely feeble in your old age? Once you lived by PVCS, before there was such a thing as a decadent SCC GUI!". 

So I figured I'd give it a go.  The results have been pretty good so far, although it has taken me a while to get used to the svn.exe command set.  On the up side, it seems much faster than Tortoise, with updates in particular taking much less time.  The thing I find myself missing the most if the commit dialog, where you can uncheck stuff you don't want to commit right now.  Living without that makes for some extra typing, but overall it's still worth it.

The one thing that's a major hassle is browsing the repository.  If I have to figure out where someone shoved something in which repository, I've been falling back on another machine with Tortoise installed.  Lame?  Possibly.  I couldn't find anything approximating a non-Tortoise GUI SVN repository browser.  Maybe there is one, and I just haven't heard. 

So overall, I'm not quite ready to go back to edlin for text files, but the svn command line is treating me pretty well.  We'll see if I ever come to some watershed event where I decide to go back to the GUI.  That day may well come, but it's not on the horizon just yet.

Wednesday, 18 July 2007 12:45:29 (Pacific Daylight Time, UTC-07:00)
I do OK with TortoiseSVN and AnkhSVN, but there are times when I already have my hands on the keyboard and it's no trouble at all to type "svn ci -m ... "

I'm kind of waiting for the confluence of the command-line svn client with powershell, so that I can use poshconsole for my source control front end.
Jeff Paulsen
Wednesday, 18 July 2007 13:40:00 (Pacific Daylight Time, UTC-07:00)
is your SVN repo on an apache backend? you should be able to browse using a web browser then and see the repo..
Wednesday, 18 July 2007 13:40:08 (Pacific Daylight Time, UTC-07:00)
I haven't tested this configuration extensively, but you can actually disable the TSVNCache process and still use all the rest of the Tortoise features (repo browser, checkout/update/commit, etc). You just lose the pretty status icons. There may be a less "rude" way to disable it, but I just renamed TSVNCache.exe (while it was shut down, of course). No ill effects (that I've noticed, anyway).
Wednesday, 18 July 2007 13:51:54 (Pacific Daylight Time, UTC-07:00)
And Google answers my question: since 1.4.0, there is an option to disable the status cache under Settings->Look and Feel->Icon Overlays (Status Cache: None). Probably a cleaner way to go. :)
Wednesday, 18 July 2007 14:04:00 (Pacific Daylight Time, UTC-07:00)
Steve,
good thinking! I always forget about the web server bit. That makes it much easier.
Wednesday, 18 July 2007 14:05:21 (Pacific Daylight Time, UTC-07:00)
Matt,

I heard there was such a thing as disabling the cache, but of course that was after I uninstalled Tortoise, and by then I'd decided to stick with the command line for a while. If I give up on it, I'll definitely try it without the cache.
Wednesday, 18 July 2007 14:06:52 (Pacific Daylight Time, UTC-07:00)
Jeff,

we've been doing some stuff using the svn library part of Ankh from within powershell to automate stuff like creating new task branches,etc. Takes a little getting use to as far as the model, but pretty handy once you get some Powershell scripts built up.
Wednesday, 01 August 2007 18:06:02 (Pacific Daylight Time, UTC-07:00)
I had the same problem with TortoiseSVN - almost unusable on our large code base (and relatively slow drives). Disabling icon-overall did it for me. I don't notice it at all. I think it also promote better source control practices (frequently checking-for-modifications and looking closer at what's modified).

cheers /kelly
Wednesday, 08 August 2007 21:17:08 (Pacific Daylight Time, UTC-07:00)
I want to echo Matt Davis and KellyB: just disable the recursive cache.

You guys probably know where to find this but I'll spell it out (1.4.x):

Right click directory
..TortoiseSVN
....Settings
......Look and Feel
........Icon Overlays
..........Status Cache
............(*) None

You still get the nice overlays on your folders, just not on the individual files. I got used to this very quickly.

I'm much happier with it this way. Before I turned it off every few days TSVNcache would go psycho on me and totally dominate the machine for many minutes (thrashing and thrashing). Never happens now because there is no TSVNcache process.

Peter

Peter Robinson
Thursday, 09 August 2007 07:48:27 (Pacific Daylight Time, UTC-07:00)
Thanks guys, I'll give it a try.
Comments are closed.