svn

Subversive deleted a file that was not marked for deletion

hello, subversive deleted a file that a needed really badly, i am looking for ways to retrieve it. here are the steps that i followed: refreshed my local project folder synchronized to my svn repository only changes found were local files i chose commit, but obtained a error that the file was already in the repository on that file, i d...

svn per apache with mod_rewrite

I have the following virtuslhost for my subversion repository and i want to create a link which always points at the latest stable tag. i tried this using mod_rewrite. it is accepted by apache without any errors but wont work. i also tried to rewrite .* which seems not work (yes i restarted apache) <VirtualHost svn.warsow-race.net> ...

Subversion; checking out only trunk for multiple projects

I have a directory structure in svn like this: Project A branches tags trunk Project B branches tags trunk ... I want to checkout only trunk directories for all these projects. There are about 400 of these kind of projects so checking out trunk manually won't be an option. My first guess would be to use svn list, but my shell s...

How do I copy source code maintained in SVN and move the code to a different SVN repository

We would like to move our code from the local SVN server to a hosted solution, how should we copy and re-import the code into the hosted SVN server. The main problem is we don't want to point to the older svn data files while re-importing. ...

Tortoisesvn cannot commit

Hi I've just upgraded from 1.5 of Tortoisesvn to 1.6 and most of my repos seem ok. But I have one where the icons are there as expected but when I try to commit a particular file I get there have been no changes. I've tried a cleanup and even trying to commit all the files but that just leaves the commit back hanging on Please Wait Che...

How, or is it possible in TeamCity to define an environment variable that can be used in the VCS root to checkout specific tags and build these?

I have a TeamCity project setup that currently looks at the trunk of my svn project, checks that out, builds it, deploys it to a server and then runs some tests on that. I set this up so there would be 1 click deployment of services, however it can only be used from the trunk. I would like to setup the TeamCity project so that when giv...

Should I include my SDF file (SQL CE 3.5) as an item when adding solution to source control?

I have a visual studio 2010 solution that uses a SQL CE fiel (SDF) for storing data in one of the projects. I am wondering, is it a good practice to add this SDF file to the source control so that whenever I make any changes in the database, I commit it to source control? Sometimes all i do is a name change for example, then I have to c...

Is it bad practice to commit placeholder/design text into source control?

Is it bad practice to have placeholder data in your source control repository? For example, when building a view is it ok to commit something like this: ... <span id="username">LoremIpsum</span> <span id="karma">999</span> ... ...or should I put the variable names in during design, and only view the work-in-progress view via some sort...

How do I find/search/grep an SVN repository history?

I need to search through all revisions of a Subversion repository to find file names and revision numbers that contain a particular string. I know that this will find occurrences in a dump: svnadmin dump $REPO_PATH | grep -i "Verdana" but the output is too cryptic. The output will include chunks of binary files that match. I have bee...

SVN checkout new branch based on local files of old branch

Someone branched our trunk and now I need to checkout the new branch. I already have trunk checked out locally. Since its a huge repo with GBs of files, it will take forever to checkout the new branch. But since very few files have changed between the trunk and the new branch, how can I just copy my local trunk, call it the branch, then...

Java files needing to be hosted on SVN

I will be hosting a java project on SVN which will need to be downloaded by other developers with the ability of that project to be compiled / packaged on their local machine. I would like to know what files are needing to be stored on SVN and which ones can be left out. I know the files that Netbeans creates can be left out and the bu...

Tortoise SVN: Show all changesets in branch that haven't been merged to trunk?

Hey, we started working with development- and featurebranches and it is actually quite useful. But, as we do most of the bug fixes in development branches it often happens, that I work on several things at a time, waiting for them to be reviewed by our QA. Now I fear that I will forget to merge a changeset/revision back into trunk after...

Merging subversion

I have one main line and a branch. There are changes made on main line and also in branch. Now I need to make sure all the changes made on branch are moved to main line. Since there are changes made in main line as well, what is the best way to merge changes (from branch to main line)? Is there a way to see the difference of the two file...

Subversion planning for development, staging, live

Good evening everyone. I am in the planning stages of restructuring our subversion process and deployment in the attempt to minimize code loss and production deployment issues. Our current system simply consists of creating a sub domain name on a random server to test with before pushing live which drives me nuts. I wanted to hear som...

Xcode svn+ssh custom port not working?

So we used to use port 22 for our svn repository, but port 22 was recently closed by the firewall administrator, which forced us to use a different port. Anyway, it seems like Xcode doesn't play very well with custom port numbers, because as soon as you change the port number to anything, even 22, you get the following error message: ...

Is it possible to always (force) overwrite local changes when updating from SVN? Ignore conflicts?

I know I should be working on a branch of my own but a couple of us are on the same branch of a project. One of the Dev's made a commit and I just wanted to update my local copy with the latest from SVN. Running 'svn update' I get this output: Restored 'index.html' U somescript.php Conflict discovered in file.xml'. Select: (p) postp...

AnkhSVN for Subversion does not show Source-Code-Control related icons

We moved our projects (SQL Server and .Net) from Visual-Source-Safe to SubVersion. We have installed Tortoise SVN and AnkhSVN clients on the location machine. When I lock a file, the icon in Windows Explorer changes, but there is no indication in Visual Studio of any lock. Visual-Studio Windows Explorer How do I fix this? ...

Include file from another subversion repository in my maven assembly

I am using maven-assembly-plugin to construct an assembly. I want to include in the assembly a file from another Subversion repository. How? Is there another plugin that will do a subversion export? ...

How to make an php project accessibile within svn repo?

Hey I've a svn repository with some php files and I want to run it over the browser. Just like a normal page. But if I go to the repo url (http://server-URL/svn) enter my username/pass, navigate to my php project and selecting the index.php it just shows me the content of the index.php but not the real rendered page. How can I run my pro...

svn best practices for dealing with coworker

Hi all, I'm on a small team of about 6 people. Most of the group is careful to make sure their commits don't break trunk and use short-lived feature branches when they need to work on something for more than a couple of days, so they can check in code without destabilizing things for everyone else. And then there's the other guy. He ...