svn

What's a simple way to undelete a file in subversion?

These instructions are a little intimidating and confusing: http://svnbook.red-bean.com/en/1.0/ch04s04.html#svn-ch-4-sect-4.3 . And also they don't seem to mention that it's much simpler if you haven't yet checked in after doing the "svn rm" [1]. So I thought this would be a good place to record a simpler answer for those googling for ...

Converting a repository from git to subversion

Reasons for doing this aside, is there a reasonable way to convert an entire git repository to subversion? I can find only tons on information on migrating from subversion to git, and exchanging changesets between the two, but not for doing a simple conversion of the entire git repository to svn. ...

Use subversion for asp.net deployment - Causes appdomain recycle

I am experimenting with using subversion to deploy updates to my ASP.Net application, one issue that I am facing is that whenever the working copy(containing the build) is updated the ".svn" folder inside of bin gets updated and this causes the ASP.Net appdomain to recycle. I don't want this to happen unless something in bin has actually...

How can I have Subversion keep only the latest version of a file?

I have a large file in my repository that is not text-mergeable and that I do not need multiple-version control for (PPT for example). I would like to keep it on the repository for backup purposes and to share with multiple people, but I do not want the repository size to grow huge because it's keeping a duplicate copy of the file every...

Build on commit with subversion

Simple question. I use Visual studio and i 've just installed subversion, how can i force the project to be build with msbuild, and if successfully build commit it else warn the user. I would use TortoiseSVN or VisualSVN or AKHSV (whatever it's called) if they have the ability to force build on commit builtin (i know that this is not the...

How can I justify (cost-benefit) taking the time to setup a proper development environment (Subversion)?

My boss is a tight-wad when it comes to tech and he rarely approves projects that don't directly impact revenue. He (wrongly) ignores the cost side of the equation many times, especially for technology projects where it's tough to approximate costs. Does anyone here have any white papers, articles, etc. for a rational cost-benefit base...

Easiest/best way to set up SVN commit emails?

I'd like to set up commit emails on a project I'm work on, as described here: http://producingoss.com/en/vc.html#commit-emails That is, use a post commit hook to send an email to a list containing the commit title/log and diff of the changes. What's the easiest way on a Linux machine to set this up? ...

Subversion: write through proxy, "svn copy" and "svn move" doesn't work at Mirror site

I setup subversion Master and Mirror use its "write through proxy" technique. At mirror site. I tested: update a single file and commit - works add a new directory and files, then commit - works delete a directory and files, then commit - works try to move a diretory - Failed with following error: C:\temp\BlueChip_Mirror\trunk\Proj1>s...

Code Highlighting for Subversion/Apache Server

I have beeen looking around for a way to add code highlighting to my Subversion and Apache installation that hosts my local subversion projects. It runs on Fedora Core 10 installed in a VM. I would like to use syntaxhighlighter but I have not idea how i can get Apache to automatically insert the required javascript into my source code fi...

Svnserve VS mod_dav_svn

We plan to install a Subversion repository in an environment where the network is quite slow on its own. The previous VCS used there was VSS, and it was a nightmare to use it (not only because of its "feature"). So, my question is the choice between Svnserve and the apache module. I know that the apache module will be slower due to the ...

How to best version design documents?

There has been some discussion on SO (here and here) before on how office documents can be versioned, however I think my question is still a little different. My programming projects start with a project folder that is empty except for a subfolder named "Design Documents", which contains a draft of the project's functional spec to begin...

What are the long-term effects of reorganising a subversion repository

The subversion repository at work was set up without much planning as to its structure. There are currently no explicit tags, trunk or branches configured, although some tagging metadata is present through the use of subclipse:tags Currently the repository is in the format: /CoreCodeA /CoreCodeB /Project1 /Project2 ...

Version control to coordinate with yourself

For programming in my spare time, I have both a desktop and a laptop (both Macs, though I doubt that makes a difference the question). I've got VMware on both of them, with Linux images to run my code on. They're identical images, so I've got the same environment in both places. The trick is that I like to use version control for ALL ...

Replicating Sourcesafe's link ablity in SVN or other version control systems?

Currently my team uses Visual Sourcesafe, and being very familiar with how horrible the GUI is first hand and having heard the internet mummer about how unreliable it is, I've been trying to push a move to SVN. Today I was talking to manager about the eventual move, which he supports, and he asked if it was possible to create sourcesafe...

Database Deployment Strategies (SQL Server)

I am looking for a way to do daily deployments and keep the database scripts in line with releases. Currently, we have a fairly decent way of deploying our source, we have unit code coverage, Continuous integration and rollback procedures. The problem is keeping the DB scripts in line with a release. Everyone seems to try the script ou...

What is a good book about SVN?

At work, we recently switched from VSS to SVN. Unfortunately, I have never used anything other than VSS. So the new features still feel quite awkward. I understand enough to get latest, update and commit; however, I am interested in a book that describes practical usage and best practices. Any suggestions? ...

Publishing my ASP.NET site ruins the Subversion files

I've been trying to use SVN to deploy my asp.net site to production. My workflow is: Setup: Publish Site to FolderX, Import FolderX to SVN, Update web server production folder with the repository for FolderX. Everyday: Publish updated site to FolderX, Commit Changes, Update remote server with changes. That's the theory, but when I pub...

Unable to open repository error on Windows XP

I'm trying to commit to my local SVN which has been working just fine, but today its giving this error: Unable to open repository 'file:///C:/wamp/www/svns/[myproject]/[dir]/[subdir]' What could be the problem? Edit: full error: Commit failed (details follow): Unable to open an ra_local session to URL Unable to open repository 'fi...

How to keep SVN from updating a directory already in repository

This isn't, I don't think, a standard svn ignore question. I have a repository with a huge directory in it that I don't want. Because others using the repository do, I can't just delete it from the tree. BUT, I don't want to redownload this directory every time I do a svn up. I can understand that ignore will prevent directories that...

What do the letter suffixes on SVN version numbers mean?

We have a svnversion reported as 22625P. What does the "P" mean? ...