svn

How to require commit messages in VisualSVN server?

We've got VisualSVN set up as our Subversion server on Windows, and we use Ankhsvn + TortoiseSVN on our client workstations. How can you configure the server to require commit messages to be non-empty? ...

How get a list of files under a subversion-url in ant?

I want with ant access a subversion-repository and get a list of files available under a specific svn-url like https://svn.myhost.de/repository/path/into/repo. I want to list all items, subdirectories or files, in some form I can work with later in the ant-file. A comma-separated list is fine, it can be input for the foreach-task of ant-...

Using Subversion and Apache

I've never used any kind of source control before although I understand the concept. What I am confused about (and perhaps just not aware) is what benefit do I achieve and/or why would I want to configure Subversion and Apache? Do I need to configure it with Apache to be able to access my repositories from other computers over a network?...

Best Practice for following Subversion repository Trunk: Git (Mirror), Git-Svn, Subversion?

I want to checkout, and then update as necessary, the Django Subversion trunk on a Mac OS X Leopard 10.5.5 machine. I am only interested in having updated Django code on my Mac. I am not interested in contributing patches to the Django project. I do not need the Subversion history for the Django trunk. I plan to use Git as the DVCS/SC...

Undoing a commit in TortoiseSVN

I commited a bunch of files (dozens of files in different folders) by accident. What is the easiest, cleanest (and safest!) way to 'undo' that commit w/o having to delete the files from my working directory? ...

Shared components throughout all projects, is there a better alternative than svn:externals?

My situation: I have several components, which sometimes have changes to them, and are shared across a lot of different projects. Each project puts these in a subfolder called /depends. The depends holds a bunch of svn externals for all of our common components. svn:externals is causing me a lot of time and pain. Show log on the pr...

How do I mirror an SVN repo dir structure in my working dir without a full root checkout?

First, a couple operating parameters: .NET development using Visual Studio 2005/2008 TortoiseSVN client I've only primarily worked with Visual Source Safe and SourceGear Vault source control systems. In each, I map the root of the repository to a local working directory. For example: $/ --> C:\source As long as the local direc...

Translate SVN path to local file system path in Python

I'm writing a utility in Python that will attach changed files in Subversion to an email and send it when a subset of folders that are under source control in SVN have been changed. I am using the pysvn library to access the repository. I have a copy of the files on my local file system and I do an update to check if the files have cha...

Subversion hook does not accept certificate permanently

I hope someone will be able to answer my question. I have Subversion set up, served by Apache2+SSL, doing web development. I want a post-commit hook that runs svn update on my testing server, so when someone commits, it will automatically update the testing site. The hook doesn't work because the certificate is a self generated one and...

What are the advantages to Perforce?

What are the benefits of Perforce? I'd love to have some insight as to how Perforce can work better in a given situation than, say, svn. If you have experience with both perforce and svn and you don't believe that there are any advantages, or believe that svn has advantages over perforce, I'd like to know why, as well. ...

Sharing Files in SVN

I am in the process of moving from VSS to SVN and I'm not sure how to share files in SVN. Basically we have the following structure in VSS $MOSS - Components - ComponentA - bin - ComponentB - bin - GAC Mirror GAC Mirror holds a shared copy of all the Dlls from the bin folders of the components to allow for eas...

Lean Software (Webapplication) Release Engineering

Hi, I'm looking to re-organize the way we release our internal software. All of the code (PHP webapps, some Java apps and Perl scripts) is checked into Subversion repositories but there are no branches or tags, everything is checked into trunk (only around 1-3 devs per app). On the production linux servers, the software is just directly...

Maintaining releases/branches in an "agile" rhythm ?

We have a software product that evolves at the rhythm of clients' needs and of a more general roadmap. Because we are in a SCRUM project environment, it happens very regurlarly that a new feature makes its way to the product, and then we are confronted with the choice of: implementing this feature in an already released branch (not re...

What would be the best way to relocate an entire (versioned) Eclipse workspace?

I was wondering what would be the best approach you guys would take to relocate an entire Eclipse workspace? Assuming it's either versioned and exported, what would you do? Import the file? Checkout the whole thing from the repo? Thanks much in advance! ...

Do I really need version control?

I read all over the Internet (various sites and blogs) about version control. How great it is and how all developers NEED to use it because it is very useful. Here is the question: do I really need this? I'm a front-end developer (usually just HTML/CSS/JavaScript) and I NEVER had a problem like "Wow, my files from yesterday!". I've trie...

How to use maven to export a project from subversion?

Maven has a plugin called maven-scm-plugin, which can interact with source control systems. According to the documentation, I should be able to export a project like this: mvn scm:export -DconnectionUrl=scm:svn:svn://url... -DexportDirectory=./project-export However when I run this command with maven 2.0.9, I got the following error f...

One SVN repository or many?

If you have multiple, unrelated projects, is it a good idea to put them in the same repository? myRepo/projectA/trunk myRepo/projectA/tags myRepo/projectA/branches myRepo/projectB/trunk myRepo/projectB/tags myRepo/projectB/branches or would you create new repositories for each? myRepoA/trunk myRepoA/tags myRepoA/branches myRepoB/trun...

Is there a way to do a reverse update with Subversion?

I have a branch in an SVN tree which contains the source to a third party product. I need to update that branch with the latest version. If I check it out and copy the new source over the old source, I can easily add the new files and do a commit. However, I would also like make sure that any files that are the old version but not the ne...

What Python bindings are there for CVS or SVN?

I once did a cursory search and found no good CVS bindings for Python. I wanted to be able to write helper scripts to do some fine-grained manipulation of the repository and projects in it. I had to resort to using popen and checking the stdout and stderr and then parsing those. It was messy and error-prone. Are there any good qualit...

SVN Repository Search

Is there any good software that will allow me to search through my SVN respository for code snippets? I found 'FishEye' but the cost is 1,200 and well outside my budget. ...