svn

Deny access to .svn folders on Apache

We have a rails application in subversion that we deploy with Capistrano but have noticed that we can access the files in '/.svn', which presents a security concern. I wanted to know what the best way to do this. A few ideas: Global Apache configuration to deny access Adding .htaccess files in the public folder and all subfolders C...

Using SQL Server back end for Subversioning Repositories

Has anyone attempted to use SQL Server Database as a Subversion file system back end? So that all Subversion Repositories would be stored in a SQL Database instead of a flat file system? Make for easier backups and reporting? ...

What's your favorite web view for Subversion (SVN) repositories?

I have just built up my first SVN server, along with the mod_dav_svn module for Apache so that I have a rudimentary web view into the repository. There appear to be lots of alternate/additional packages to make the web view more full-featured, along the lines of what you would see at Launchpad or Sourceforge. What's your favorite web v...

Subversion merge Trunk to Branch

I'm using Subversion 1.4.6. I cannot upgrade to version 1.5 right now. The situation: The trunk has a lot of structural changes (i.e. moving files around, mostly). I have a branch that was recently merged from the trunk, but before the major changes. What is the best way to merge the trunk to the branch? What I had in mind: First...

Getting an error while attempting to checkout with SharpSVN

While attempting to use the following code, I am receiving the following error : Already working for different url, error code 155000. string targetPath = @"C:\Documents and Settings\Admin\My Documents\CPM Creator\"; //" for prettify client.Authenticatio​n.DefaultCredentials​ = new NetworkCredential("guestUser", "hjk$#&123"); // Check...

Diffmerge example with SharpSVN

Has anyone seen an example of how to do a merge using c# and SharpSVN? Thanks in advance Marcco ...

TortoiseSVN Working Copy / Revision is not commiting properly

Hi, I have a VS 2008 project under TortoiseSVN source control. I am the only person using it at present. I was trying to commit my latest changes when I received the message "File abc is out of date - please update". When I try to update the project, I get a whole set of file conflicts (binary and text). Since I am confident my working...

Programmatically tell difference between git-svn and git repos?

I've got some shell stuff set up that dynamically defines aliases depending on what sort of VC repo the CWD contains -- so, for example, 'd' runs 'svn diff' or 'git diff', depending. (Based on this blog post, if anybody is interested...) I'd like to define some aliases differently depending on whether I'm in a git repo versus a git-svn ...

Not all required revisions are specified sharpsvn

Hello all, I am attempting to do a merge using SharpSVN. A bit of research and I have learned the SharpSVN supports the MergDiff function, however when I attempt the code as listed below I am getting an error message of not all required revisions are specified. Thanks try { SvnCheckOutArgs argsSVNCheckout = new ...

How do I set the build number based on the Subversion revision number with CruiseControl.net

I'm working through the process of installing CruiseControl.net and converting an Msbuild script to work with it. I'd like our build number to reflect the Subversion revision number. It appears as though the LastChangeLabeller should work, but all I get is "unknown". My ultimate goal is to format the build number with both a build num...

examining history of deleted file

If I delete a file in Subversion, how can I look at it's history and contents? If I try to do svn cat or svn log on a nonexistent file, it complains that the file doesn't exist. Also, if I wanted to resurrect the file, should I just svn add it back? (I asked specifically about Subversion, but I'd also like to hear about how Bazaar, Mer...

Roll back or revert entire svn repository to an older revision

I messed up on my SVN repository and now need to revert the entire repository from revision 28 to 24 and don't want to deal with diffs or conflicts. Is there a quick and simple way to do this? I've been able to revert back single files before fine with the merge command - but in this instance it wants to add all of the files back into th...

Is there a metadata exclusion filter for the SVN DIFF command?

I use SVN as source control system and I wonder how to compare directories while ignoring any metadata differences. Is there a way to tell svn diff to compare only the actual content and ignore any metadata? I mean metadata like SVN properties, etc, that don't affect the file content. Assume file X has an additional property in branch ...

SVN, TeamCity virtualisation / hardware requirement

I am trying to put a requirement together for a new environment to consist of TeamCity running of Sql Server, a couple of build agents (for now) and an SVN repository. There are 6 developers and there will be 5 active solutions partaking in the CI process for now which will obviously grow over time. None of the solutions take >10 minut...

Using Git in a Company?

At my workplace we have one large Subversion repository which holds about 100 projects. Some projects use each other through svn:externals. Usually all people have read+write access to everything, but sometimes external people and interns have only restricted read/write access to some custom folders so they don't get our crown jewels. H...

Tool to generate change reports from Subversion logs

Is there a good tool to generate change reports from Subversion logs. We have big team and many commits every day. I'm looking for some tool to show changes in all files. We are using Subversion, so I'm looking some tool that can read Subversion logs. ...

In Subversion can I be a user other than my login name?

I'd like to know how to get Subversion to change the name that my changes appear under. I'm just starting to use Subversion. I'm currently using it to version control code on an XP laptop where I'm always logged in under my wife's name. I'd like the subversion DB to show the changes under my name. Later on I'll replicate the DB so it i...

Using svn with Textmate

Coming from IDEs with full-blown svn support such as Eclipse and Netbeans, I'm wondering what is the recommended way to use svn with Textmate? Is it all manual, ie using the command line, or are there features that allow you to diff/checkin/merge/etc in Textmate itself? ...

Subversion usages

Hi all, I am just starting to use "Subversion" with "Tortoise SVN client" for one of my opensource project which is hosted on "Google Code". I would like to get some best practices on using it. I am following the default folder structure(trunk,branch,tag). Following are the questions When will you do the initial checkin? Is it only af...

In-place editing, version control - what's your solution?

I am using SVN for development tasks, but still have many files managed with RCS, because it does not seem reasonable to edit them in my private SVN repository working copy (since they're often just configuration files that are also best tested in-place). It also doesn't seem reasonable to have a working copy of the repository wherever t...