svn

Best SVN Client Ignore Pattern for VB.NET Solutions?

What SVN Ignore Pattern should TortoiseSVN have for a VB.NET solution?...

Experience with SVN vs. Team Foundation Server?

A few months back my team switched our source control over to Subversion from Visual SourceSafe, and we haven't been happier. Recently I've been looking at Team Foundation Server, and at least on the surface, it seems very impressive. There is some great integration with Visual Studio, and lots of great tools for DBA's, testers, projec...

Version control PHP Web Project

We have a php project that we would like to version control. Right now there are three of us working on a "Dev" version of the project that all have our Eclipse linked to it with just an external folder, and thus no version control. What is the right way, and what is the best way, to version control this (not necessarily the same I dont...

Database Version Control

Is there a good way to check database structure into a SVN? Perhaps checking in a DDL file when changed? Any ideas?...

Best strategy to write hooks for subversion in Windows

What is the best approach to write hooks for Subversion in Windows? As far as I know, only executable files can be used. So what is the best choice? Plain batch files (very limited but perhaps OK for very simple solutions) Dedicated compiled executable applications (sledgehammer to crack a nutshell?) Some other hybrid choice (like a b...

Making a production build of a PHP project with Subversion

If you are working in PHP (or I guess any programming language...) and using subversion as your source control, is there a way to take your project (for example): C:\Projects\test\.svn C:\Projects\test\docs\ C:\Projects\test\faq.php C:\Projects\test\guestbook.php C:\Projects\test\index.php C:\Projects\test\test.php a...

Always Commit the same file with SVN

In my web application I have a file which hold the current revision number via $Rev$. This work fine except, if I don't make any changes to that file, it doesn't get committed. Is there anyway I can force a single file to always get committed to the SVN server? I'm using TortoiseSVN for Windows so any code or step-by-step instructions ...

How do you deal with configuration files in source control?

Let's say you have a typical web app and with a file configuration.whatever. Every developer working on the project will have one version for their dev boxes, there will be a dev, prod and stage versions. How do you deal with this in source control? Not check in this file at all, check it with different names or do something fancy altoge...

Source control for web projects.

I'm looking for good suggestions on how to implement version and source control for web projects. I've looked into subversion, but it seems to only take care of code. I'm really looking for something that can do good version-ing, branching, archival, etc. with not only source code, but other web assets like art files, movie clips, and ...

Repair SVN Checksum

I'm using subclipse in Flex Builder 3, and recently received this error when trying to commit: svn: Checksum mismatch for '/Users/redacted/Documents/Flex Builder 3/path/to/my/file.mxml'; expected: 'f8cb275de72776657406154dd3c10348', actual: 'null' I worked around it by: Committing all the other changed files, omitting the troublesome...

Common Types of Subversion Hooks

What kinds of hook scripts are people using for Subversion? Just general ideas but code would be great too!...

How do you manage databases in development, test, and production?

I've had a hard time trying to find good examples of how to manage database schemas and data between development, test, and production servers. Here's our setup. Each developer has a virtual machine running our app and the MySQL database. It is their personal sandbox to do whatever they want. Currently, developers will make a change to ...

Very slow merge with Subversion 1.5 (and 1.4 Server)

I switched locally from subversion 1.4 to 1.5, our server still runs 1.4. Since then every merge takes ages to perform. What took only a couple of seconds is now in the area of 5-10 minutes (or more). There is no difference between the command line client and tortoise (so we talk about the windows versions). Has anybody else this strang...

How do I make Subversion (SVN) send email on checkins?

I've always found checkin mails to be very useful for keeping track of what work other people are doing in the codebase. How do I set up SVN to email a distribution list on each checkin? Edit: I'm running clients on Windows and the server on Linux. The answers below for various platforms will likely be useful to other people though. ...

Creating Redundancy for a Subversion Repository?

What is the best way to create redundant subversion repositories? I have a subversion repository (linked through apache2 and WebDAV) and would like to create a mirror repository on a different server in the event of outages, but I am not certain of the best way to proceed. I am thinking that post-commit scripts could be used to propaga...

Shelve in TortoiseSVN?

I've moved from TFS to SVN (TortoiseSVN) with my current company. I really miss the "Shelve" feature of TFS. I've read various articles on how to "Shelve" with SVN, but I've read nothing that gives a very simple experience to "shelve" work. Ideally, I'd like extra items added to the TortoiseSVN context menu - "Shelve" & "Unshelve". "She...

Learning Version Control, and learning it well

Where should I start learning about version control systems? I've used SVN, Team Foundation, and Sourcesafe in the past but I don't really feel like I grasp it completely, and my team doesn't seem to grasp it either. Which points are the most important to master? I realise this differs from VCS to VCS, but for the sake of this question ...

Graphical representation of SVN branch/merge activity

Are you aware of any tool that creates diagrams showing the branch/merge activity in a SVN repository? We've all seen these diagrams in various tutorials. Some good, some not so good. Can they be created automatically (or maybe with a little prodding -- you might have to tell it what if your branching philosophy is dev-test-prod, branch...

Can you recommend a good .Net web-based repository browser for SVN?

We have a SVN repository running on a Windows server, and I want to link internal documentation, feature changes, bugs and so on to code changes. We've found WebSVN to be amazingly slow - the repository is too large for it (I think). The team using it is primarily coding in C#, and while some have experience with other languages I'd re...

What do you use as a good alternative to Team System?

I would like to gauge what solutions other people put in place to get Team System functionality. We all know that Team System can be pricey for some of us. I know they offer a small team edition with five licenses with a MSDN subscription, but what if your team is bigger than five or you don't want to use Team System? ...