svn

How do I svn add all unversioned files to svn?

I'm looking for a good way to automatically 'svn add' all unversioned files in a working copy to my svn repository. I have a live server that can create a few files that should be under source control. I would like to have a short script that I can run to automatically add these, instead of going through and adding them one at a time...

SVN promoting changes to test and production

OK, so I am implementing an SVN repository to track development on a Dot Net project. I have defined the repository directory in accordance with the following structure: \project \trunk \branches \systest \production \tags \production_yyyymmdd Main development is committed to the trunk of the proje...

SVN: Can I copy a subset of files to a new tag?

In my repo trunk I have a directory unit-tests that I want to keep out of my release tags. What I've been doing is copying trunk to a new tag, then deleting unit-tests. Is this OK? It feels wrong because it takes two revisions to tag every release. Is there a way to exclude a directory from the svn copy? E.g. I have: /trunk/unit-tests ...

"Invalid token ',' in class, struct, or interface" after checkout

...

Disable Netbeans automatic svn ignore?

How do I stop Netbeans from automatically svn ignore-ing ".swp" files? I use Netbeans as my main development environment, but I often use gvim at the same time for quick edits. gvim creates temporary files with the .swp extension, and Netbeans seems to be scanning my code folders and adding an svn ignore property for these files. I ca...

Doxygen w/ XCode & Subversion Issues

I followed this guide from Apple to create doxygen documentation. I did need to modify the script to put variables in quotes so when it parses a directory with spaces, it doesn't treat it as two separate arguments. That said, I recently switched to use subversion in XCODE instead of using the Snapshot stuff, which has a notorious histor...

How to list source versions using subversion

Hello. I am using svn to download the source code to an open source project. I want to download an older version do to compilation errors and I know you can do that, but I don't know the exact numbers (e.g. 1.2.3) that make up the version. Is there a way svn can list all of the available software versions and when they were published? T...

SVN repository speed

I have an SVN repository that I use for storing both code and data files (binary & text). I have noticed slower performance as the repository has grown. I would like to understand better what contributes to this. Obviously performance depends on the speed at which new data is transferred. I'm interested in performance independent of thi...

Git or Mercurial usage in Java projects

Just wondering if any of you are using Git or Mercurial for your Java projects, or is Subversion still the most popular choice? I've been looking at github.com and bitbucket.org lately, but because the repositories might be private, I can't get a good indication of actual usage. ...

svn: local commits

Subversion: is it possible to commit local revisions without pushing them, and push them at a later date - or is the lack of this feature why it's called "centralized" ? ...

Test Projects Display as Folder only in VS2008 on 1 machine

I have some projects that I created on my laptop, and they work fine there. I have just added them to the Subversion repository on my home PC, and loaded in VS on that PC only to find that the test projects do not display; they just show as a folder icon, and you can't see anything under the root. There is an expand icon next to the fold...

SVN: Track merges

Is it possible in SVN 1.6 to track where a commit was merged. I'm especially interesting in UI based solution (Eclipse plugin will be great). ...

How to delete files from SVN that have already been deleted from the FS?

Using TortoiseSVN on Windows, how do I delete files from the repository that have already been deleted on the file system? I would expect them to show up as "missing" or "deleted" on my next commit, but that doesn't seem to be the case. On Linux/Mac, I just run this command: svn st | grep ^! | cut -b7- | xargs svn delete -Chris ...

CruiseControl SVN Exception

I get the following error sometimes(mostly overnight) when svn is trying to connect to the repository to check for updates: ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: OPTIONS of 'RepositoryURL': could not connect to server (ServerName) I have to manually force build the project in orde...

Are there Windows API binaries for Subversion or do I have to build SVN to call the API from Windows C++ ?

I want to call a Subversion API from a Visual Studio 2003 C++ project. I know there are threads here, here, here, and here that tell how to get started with C#.NET on Windows (the consensus seems to be SharpSvn, which I've used easily and successfully on another project) but that's not what I want. I've read the chapter on using APIs i...

What is the best way to version a file that you want to get once but don't want to commit changes after the first get.

Hello, I use subversion with TortoiseSVN on projects at work and my personal ones. I was wondering what is considered best practice in terms of being able to setup your repo so that doing a SVN Checkout and VisualSVN for Visual Studio will get you all that you need to compile ... but I want to be able to mark certain files so that t...

Cruisecontrol SVN proxy issue

Hi, When cruisecontrol start an svnbootstrapper an exception is logged in the cruisecontrol log file. 2009-07-07 14:29:41,942 [BuildQueueThread] INFO BuildQueue - now adding to the thread queue: trunk-edumatic-3-framework-client 2009-07-07 14:29:41,942 [Thread-25] INFO Project - Project trunk-edumatic-3-framework-cli...

"Find in files" shows results in .svn directories

Hello, using flex builder 3 and the find in files function alsways searches all files. How can exlude all .svn directories from the search? Perhaps there is a plugin for that or some way to "always" exlude all matches in these folders. Thank you! Regards, Uwe ...

Subclipse: how to keep a branch in sync?

¿How would I do the operation described here, which is very simple from the command line, with the subclipse plugin? I think I would make sure that my working copy is in sync with the branch, then I would go to "Merge...". I'm not sure what to do in the popup! Edit: I have read somewhere that in the popup I must indicate the merge rang...

Order of svn diff revision range

Hi, I'm trying to compose a list of changed/added files in a svn repository, for use with phing, using the following command. svn diff --no-diff-deleted --summarize -r 50:HEAD path/to/workingcopy When I reverse the revision range (-r switch), like so: svn diff --no-diff-deleted --summarize -r HEAD:50 path/to/workingcopy .. I get di...