svn

Subversion revision number across multiple projects

When using Subversion (svn) for source control with multiple projects I've noticed that the revision number increases across all of my projects' directories. To illustrate my svn layout (using fictitious project names): /NinjaProg/branches /tags /trunk /StealthApp/branches /tags ...

How can I convert all line endings to CRLF, LF, or CR during SVN operations

So, you are all ready to do a big SVN Commit and it bombs because you have inconsistent line endings in some of your files. Fun part is, you're looking at 1,000s of files spanning dozens of folders of different depths. What do you do? ...

What do "branch", "tag" and "trunk" really mean?

I've seen these words a lot around subversion (and I guess general repository) discussions. Myself I have been using svn for my projects the last few years, but I've never grasped the complete concept of these directories. What do they mean? ...

Getting the subversion repository number into code...

I'd like to implement a way of recording the version of a project within code, so that it can be used when testing and to help track bugs. It seems the best version number to use would just be the current revision number from Subversion. Is there an easy way to hook this number into a (C++ in my case) header file or something, which I c...

.net solution subversion best practices?

There are so many examples of how to set up your dotnet projects but none seemed to fit our situation. We have one solution with multiple applications, multiple dependencies. We're on SourceSafe currently and are planning to move to subversion but are finding it difficult to organize our source the right way. Example solution App1 ...

What is so great about Subversion?

At the moment we use Visual SourceSafe for our source control, my colleague wants to migrate to Subversion but I am not entirely convinced yet. I have investigated it before and had some serious issues that appear to have been resolved now which is great, but I have one main issue with it and that is the concept of Commit/Merge. I reall...

WebSVN with VisualSVN Server, anyone gotten authentication to work?

I have a VisualSVN Server installed on a Windows server, serving several repositories. Since the web-viewer built into VisualSVN server is a minimalistic subversion browser, I'd like to install WebSVN on top of my repositories. The problem, however, is that I can't seem to get authentication to work. Ideally I'd like my current reposit...

AnkhSVN Cannot Connect Due to Proxy

Alright, this might be a bit of a long shot, but I have having problems getting AnkhSVN to connect from Visual Studio 2005 to an external SVN server. There is a network proxy in the way, but I can't seem to find a way in AnkhSVN to configure the proxy and doesn't seem to be detecting the Internet Explorer proxy configuration. Is there an...

How Do I Find a File in a Subversion Repository History?

Is it possible to look back through the history of a subversion repository for files of a certain name (even better would be for them to have a wildcard search). I want to see if a .bat file has been committed to the repository at some point in the past but has since been removed in later updates. Even a dump of the file history at each...

Repository layout for large Maven projects

I have a large application (~50 modules) using a structure similar to the following: Application Communication modules Color communication module SSN communication module etc. communication module Router module Service modules Voting service module Web interface submodule for voting Vote collector submodule for voting etc. for vot...

Version track, automate DB schema changes with django

I'm currently looking at the Python framework Django for future db-based web apps as well as for a port of some apps currently written in PHP. One of the nastier issues during my last years was keeping track of database schema changes and deploying these changes to productive systems. I haven't dared asking for being able to undo them to...

Script to backup svn repository to network share

I have a svn repo on my machine. Anyone have a script to back it up to a network share? I'm using the repo locally since I'm disconnected a lot. The network share is on a server with a backup strategy. I'm a perfect candidate for git/hg but I don't want to give up my VS integration just yet. OS: Windows ...

Algorithm behind MD5Crypt

I'm working with Subversion based on Windows and would like to write an easy utility in .NET for working with the Apache password file. I understand that it uses a function referred to as MD5Crypt, but I can't seem to find a description of the algorithm beyond that at some point it uses MD5 to create a hash. Can someone describe the MD...

Syncing library/project subversion respositories

I'm developing a library alongside several projects that use it, and I've found myself frequently modifying the library at the same time as a project (e.g., adding a function to the library and immediately using it in the project). As a result, the project would no longer compile with previous versions of the library. So if I need to ro...

AnkhSVN versus VisualSVN

I currently use AnkhSVN to integrate subversion into Visual Studio. Is there any reason I should switch to VisualSVN? AnkhSVN is free (in more than one sense of the word) while VisualSVN costs $50. So right there unless I'm missing some great feature of VisualSVN I don't see any reason to switch. ...

What are your experiences running SVN on Windows?

I'm curious to hear the experiences of those who are currently running their SVN server on Windows. Jeff Atwood has a post on how to setup SVN as a Windows service. It's a great first step, but it doesn't touch on other topics, such as: What to use for a web-based repository browser? WebSVN can work on Windows, but it ain't pretty. H...

Using Subversion with VB6

My team is moving from Visual SourceSafe to Subversion soon, while developing/supporting a legacy project in VB6, so I have a couple of questions: What's the best tool for Subversion IDE integration in Visual Studio 6? (or is it not worth the trouble...) Are there any best practices for using Subversion with VB6? (file types to ignore,...

How do you deal with the light side and dark side of distributed version control systems ?

I've had some discussions recently at work about switching from Subversion to a DVCS like bazaar, and I would like to get other people's opinion. I've managed to crystallize my reluctance to do so into a simple parallel. Version Control can be used well or badly. The 'light side' of version control is when you use it to keep track o...

How to "unversion" a file in either svn and/or git

It happens to me all the time. I accidentally version a file, I do not want to be versioned (i.e. developer/machine specific config-files). If I commit this file, I will mess up the paths on all the other developer machines - they will be unhappy. If I do delete the file from versioning, it will be deleted from the other developers mac...

Any good Subversion 1.5 virtual appliance recommendations?

I'm looking for a quick-and-dirty solution to this, I have to set up a Subversion server really quickly, like by the end of the day tomorrow. My initial thought was to just download a virtual appliance that we could load onto our host machine. The problem I am having however is that all the appliances I have found so far are stuck in s...