SVN ignore pattern

by Jon Davis 11. November 2008 13:38

This isn't news, I'm posting for my own reference as I move from computer to computer frequently as the months go by.

Here's how I set up my projects to not auto-include local or junk files when adding to SVN.

With TortoiseSVN installed, in Windows Explorer (not Internet Explorer) right-click on any directory and choose TortoiseSVN -> Settings. Then under General -> Global ignore pattern, add:

thumbs.db *.user *.suo RECYCLER bin obj *.dll *.bak *.log *.~?? *.exe *.tmp *.pdb  _[Rr]e[Ss]harper* 

EDIT 5/10/2011
Here is an update for the settings including the default setting:
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store thumbs.db *.user *.suo RECYCLER bin obj *.dll *.bak *.log *.~?? *.exe *.tmp *.pdb  _[Rr]e[Ss]harper* *.vs10x *.dbmdl

The equivalent setting in SVN is svn:ignore. 

Surprisingly, a lot of people forget thumbs.db, which is the Windows Explorer thumbnail metadata file that's hidden by default. It's amazing how annoying that beast is in a shared SVN repository.

Anybody else have other filters that should be added? 

Tags: ,

Introduction to TortoiseSVN (Viewlet Animation)

by Jon Davis 11. June 2008 18:58

I was asked to learn how to use ViewletBuilder so that I can create in-house tutorials for some of the web applications we're working on.

Meanwhile, I was also asked to find a way for one of the teams to be able to versionize and manage their web files. These teams do not consist of developers, just graphic artists, editors, and multimedia specialists.

This is why I went down the wiki path, but wiki's in turn introduce a number of support and maintenance issues, not to mention web design limitations, that made me realize it was not the best path. I asked these folks to consider just using Subversion, and since they weren't familiar with Subversion I created my first ViewletBuilder viewlet as a way of hitting two birds with one stone--explain Subversion while discovering how to use ViewletBuilder.

Subversion for normal people, imagine that. ;) Once I shared it, I realized it's kind of a nice little thing to share with the world. Maybe you might find this useful.

Intro to Subversion - TortoiseSVN Basic Workflow

Currently rated 1.7 by 6 people

  • Currently 1.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

LizardTF: TortoiseSVN Equivalent For Team Foundation Server?

by Jon Davis 20. April 2008 15:29

I just restored my svn server at home this weekend--apparently after rebuilding my HTPC a couple months ago I forgot to restore my personal svn server--and after checking in my own bits, I also checked out some SourceForge code bits using TortoiseSVN. So then I was looking for TortoiseSVN-like Explorer integration of Team Foundation Server so I could do some source code check-outs from CodePlex.

I found an open souce upstart called "Turtle" whose name was apparently so controversial that it seemed to have been buried in its name's confusion. Then I found DubbleBock, and from there I found LizardTF. This is something to watch.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Software Development

Addendum 1 to Lists Of Microsoft's Fame And Shame - 2008

by Jon Davis 19. April 2008 10:27

After posting my blog article, "Lists of Microsoft's Fame and Shame - 2008", I knew going in that there were some things I was going to miss, on both sides (fame and shame).

There's one thing that I'm a little disgusted with myself for forgetting, and that is:


  • SVN (Subversion)
    • Nothing makes it seem to the software community more so than SVN that Microsoft "knows" software from only the confines of their own innovations and culture. On this technology alone, it sometimes seems like they live in a box and engineer in a cave.
    • Visual Source Safe is not version control. It's change control. The difference is as much cultural as it is functional; think a bunch of productive engineers in an agile group ("update", "OK, merged"), versus a bunch of wedgie-suffering tightwads in a red tape overwhelmed corporation ("can you please check that in so I can edit some of the code?")
    • I tried and failed to install Team Foundation Server three times and never got it right. The list of steps is a full page long, and each step takes several minutes of installing stuff -- set up Windows, figuring out whether or not to set up Active Directory, set up SQL Server Std. (not any version but Standard!), set up Windows SharePoint (don't confuse it with Office SharePoint! Don't confuse the version number!), optionally configure SharePonit for Active Directory, etc., etc. In the end, I always had something up and running, but when I would go load the SharePoint intance up in a web browser it would give me some stupid IIS error. Was I not supposed to hit it with a web browser? I don't know; the Help file didn't say.
    • I don't consider mysef a genius, and I don't consider myself a moron either. I consider myself having slightly-better-than-average intelligence. I think my I.Q. was measured 115 when I was a kid, whoopty doo. But I can set up SVN server and SVN client (w/ TortoiseSVN) without a lot of effort, as well as a few free issue tracking web sites like Gemini. I don't have Visual Studio integration (but you can use Ankh or Visual SVN), but I do have version control and a tracking system.
    • This blog post is very telling of the whole cultural situation over there in Washington.

Currently rated 1.3 by 3 people

  • Currently 1.333333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,


Powered by BlogEngine.NET
Theme by Mads Kristensen

About the author

Jon Davis (aka "stimpy77") has been a programmer, developer, and consultant for web and Windows software solutions professionally since 1997, with experience ranging from OS and hardware support to DHTML programming to IIS/ASP web apps to Java network programming to Visual Basic applications to C# desktop apps.
Software in all forms is also his sole hobby, whether playing PC games or tinkering with programming them. "I was playing Defender on the Commodore 64," he reminisces, "when I decided at the age of 12 or so that I want to be a computer programmer when I grow up."

Jon was previously employed as a senior .NET developer at a very well-known Internet services company whom you're more likely than not to have directly done business with. However, this blog and all of have no affiliation with, and are not representative of, his former employer in any way.

Contact Me 

Tag cloud


<<  October 2020  >>

View posts in large calendar