svn

Reasons for/against using svn for deployment?

So, At my job we use svn to manage our source code, but when deploying, we do an svn export and rsync that tree with the code that is on production. This is the way it has been done since I started (it is my first programming job) and how we continue to do things. I've started to work on my own personal projects outside of work and st...

svnadmin load error

I am getting an error when trying to restore a svn repository taken from another machine. The error is svnadmin: Dump stream contains a malformed header (with no ':') at The dump was created on a subversion 1.5 server and I am loading to a new subversion 1.6 server. I was able to load several other repositories successfully to th...

Simple code to install a subversion repository on a linux server

What is the simplest way to install a private subversion repository on a Linux server - specifically a bluehost shared server? Apache version 2.2.13 (Unix) PHP version 5.2.9 Architecture x86_64 Operating system Linux Commands welcome.... ...

How to let Mercurial ignore every thing except *.cs file?

I started a project and added it to hg, but I want to take *.cs file under version control only, so,i have to add bin, obj, sln, suo,_resharper folder etc to ignore pattern, ,how to let hg only monitor certain kind of file like white list? How to do that in Subversion? ...

SVN+SSH authentication isses when running CruiseControl.NET 1.4.4 SP1 service on Windows Server 2003

The SVN+SSH protocol works great for the logged-in user because we have Pageant (PuTTY authentication agent) running in the background for that user. When we try to run the ccservice (as opposed to the ccnet.exe app) the svn+ssh fails. What am I missing in the config to get it working? <cruisecontrol xmlns:cb="urn:ccnet.config.builder">...

Is there a way to automatically push svn configuration settins from the server to the clients?

Is there a way to force the client to update its local svn configuration using a hook? I have lin and win clients and I'd like to push down a standard set of ignores and auto props. Today, I provide a config files and ask the users to install them (.reg file for win and conf file for linux). I'd like to flush them down to the clients ...

How to recover an accidentally deleted folder in a svn repository.

I know how to revert to a specific revision of a folder using these instructions: http://aralbalkan.com/1381 However, I deleted the entire folder and want to get that folder back without reverting the rest of the repository. I tried recreating the folder and then merging the changes back, but svn knows my trick and realizes it is a ne...

"svn list" ignores externals

hi all i have a directory called 'library' in my SVN tree which uses externals to load libs such as zend framework/smarty/.... im using a self written tool which uses "svn list" where i can select files which should be uploaded to the servers and it seems svn list doesnt load external props and thus the library directory is empty whic...

Industry Reports on Source Control Tools

Hi, I'm looking for independent industry reports that compare and contrast the various source control tools out there. In particular, I care about Clearcase vs Sourcesafe vs SVN, but if the report includes other SCM systems that's fine. I need this for a client who wants to get a feel on exactly what they stand to gain switching to SVN...

SVN - How do I intercept and alter or add files on pre-commit?

First of all I'm not sure this is even possible, however I need to know how it can be done and if not why not? I want to create a C# application that runs at the appropriate time during the commit process of a subversion repository (pre-commit I believe) that will then add another file to be committed. For example, I make changes to Pr...

What version control system is best designed to *prevent* concurrent editing?

We've been using CVS (with TortoiseCVS interface) for years for both source control and wide-ranging document control (including binaries such as Word, Excel, Framemaker, test data, simulation results, etc.). Unlike typical version control systems, 99% of the time we want to prevent concurrent editing - when a user starts editing a file...

Creating an SVN Repository using C#

Hi, I am writing some development management tools in C# and would like to hear from anyone who can recommend a good class library for creating SVN repositories using C# code. At the moment we have the windows based Visual SVN server installed but have to use the GUI to create repositories. I would like to write a C# console app which c...

Aggregate multiple Subversion logs into a single list

I have multiple SVN repositories and I'd like to gather some overall statistics from the logs. Basically I'd like to use Excel to make a graph of the number of commits per day, in all the repositories combined. What I need is a simple way to fetch all the logs, combine them and get a formatted list with DATE, SVN REPOSITORY NAME and LOG...

Subversion - Checkout a parent directory

In my repository, lets say I have this: Animal Dog Beagle Hound ... Lets say I checked out Dog to a working directory and I realized, whoops, I really wanted to checkout Animal. I can delete my working copy, the Dog directory, and checkout Animal, but is there way I can do so without deleting and checking out again? ...

How do you document sample programs?

Let's say you have to [write from scratch, rewrite, refactor] a sample program illustrating how to do something quite specific with some middleware/SDK/library, or maybe just some programming technique, all of this for learning purposes. How do you document the sample programs? I'm asking that because I found that even with complete re...

SVN syncing fails with ZendStudio

Hi. When I try to sync with my SVN (I'm using unfuddle) through ZendStudio I get the following error: Some of selected resources were not committed. svn: Commit failed (details follow): svn: MKACTIVITY request failed on '/svn/test1234_a/!svn/act/58ae0e6d-2301-0010-8300-cb465553b788' svn: MKACTIVITY of '/svn/test1234_a/!svn/act/58ae0e6...

How to flag commited files in svn to be excluded from the export?

We have the problem that we have the open project files in our svn like *.fla and *.psd. They are under subversion in svn but we don't want them to be exported. We want a clean export without our open project files. Is there a way to flag them somehow to prevent them from being exported. Thanx for your help! ...

Manage SVN hooks with SVN?

As far as I could see, there is no built-in feature to manage SVN hooks in SVN itself. There are some ideas of course, such as another repository with hooks scripts, running an svn export to the hooks directory on commit, but how would you do it? ...

Best practices for storing an ASP.NET web site in Subversion?

Hi there, I'm currently working on an ASP.NET project with multiple developers using Subversion for code distribution, but it's quite frankly totally messed up at the moment. The person who set up the Subversion repository have included config files specific to their computer, bin\* directories, and other such things. I, being the guy w...

SVN Update fails due to folders with same name, just different case

Somehow someone has manage to create two folders with the same name except the case of the first letter (eg "trunk" and "Trunk") which causes the svn update to fail (because windows being case insensitive wont allow the creation of both folders). How can I revert these changes on windows (and without direct access to the svn server)? I...