svn

Managing Branded Software in Version Control

I'm currently using subversion to manage my source code and I've come to a point where I need to brand the software I'm working on for a client. All the branding is handled in the project resources so changing the look for a client is very simple. What I'm running into a problem with is maintaining the branded version of the software in ...

Moving directories in subversion

I have inherited a subversion repo which looks like this: https://foo/product/src I want to make it more like: https://foo/product/trunk/src https://foo/product/tags https://foo/product/branches Will moving ./src to ./trunk/src retain history ? I also want to make sure the other developers don't curse me for doing this .. are ther...

What are the MIME types for .NET project source code files?

Are there official MIME types for the .cs (C# source), .resx, .aspx, etc. files in a .NET project? If no official types are defined, any recommendations on good MIME types? This will be exposed via Apache and the mod_dav_svn module when viewing a Subversion repository from a web browser, so anything that'll help Firefox et al render th...

Fast recursive grepping of svn working copy

I need to search all cpp/h files in svn working copy for "foo", excluding svn's special folders completely. What is the exact command for GNU grep? ...

How do I get Srcsrv with SVNindex.cmd to index extern files ?

I have recently made use of the SrcSrv feature in the Debugging Tools For Windows, but have noticed that when I index the pdb with SVNIndex.cmd it does not pick up any of the files that are from an external link. Any suggestions ? ...

How to best update a website from subversion.

I have a PHP website backed by a MySQL database and a small team of programmers submitting code to subversion. Typically we write code, test it locally, commit to subversion and then copy changed files to a hidden area for online testing. However mistakes can be made. Occasionally I want to refresh the site so that I know, without a d...

Advice on Splitting Up an Application

I currently have a web app that has 3 front ends (depending on what URL you go to) that shares very little code between the 3 front ends. My directory structure looks like this: \app1 \includes \html \app2 \includes \html \app3 \includes \html \crons \libs \logs \setup \db \shared \globalFunctions \ol...

What is the best way to roll-back a change set using Subversion?

I've been using various source control systems for a while, but when it comes to reverting changes I'm not yet an expert. Can someone help given this scenario: Scenario Given a bug was introduced in revision #5 And 3 files were changed in revision #5 And changes in 2 files were responsible for the bug When the customer discovers the b...

Boilerplate for a professional PHP team development environment

I would like to get a general consensus for the minimal/boilerplate professional PHP team development environment. I can not find this information anywhere on the web. In the open-source world there are so many choices and so many ways to do things but I've yet to find any common best-practice for the infrastructure/plumbing side of th...

How do you remove a file from being version controlled without deleting the file in subversion?

I accidentally added a binary file to SVN with the add command, and now I want to remove it from being version controlled, but not delete the file. How do I do this? ...

git svn rebase: Incomplete data: Delta source ended unexpectedly

I have been maintaining the git mirror of the watir project. Some time a couple weeks ago, we had someone ready to submit their first git-based patch. Unfortunately, we ran into some issues regarding line endings (CRLF vs. LF, etc.) because of the multi-platform nature of the project. I tried what I could to set the autocrlf option (t...

Using svn and .NET Winforms - Building Install Files Deletes _svn Folders

Does anyone know how to build an install project without it deleting/overwriting the _svn folders? I have a VB .NET 2005 Winform Application and each time I do an Installer Build, it deletes/overwrites the _svn folder in the directories. How can I stop this from happening? Any and all help is appreciated! Thanks! JFV ...

Placing a Sharepoint Site under version control

Working with Mircosoft Office Sharepoint Server 2007 (standard edition) what is the best way to place a site collection being developed under version control? We're using Subversion for all our other (non-sharepoint) projects but I'm just not sure how to approach MOSS. What needs to be placed under version control to ensure we have eve...

SVN Libraries for .NET?

Any GOOD libraries available to access SVN from .net application (using C#). The only 4 I found so far that I will be trying out is: SVN# SVN.NET SharpSVN NSvn I wan't to create a very simple SVN client! ...

Subversion: what does "Target path does not exist" when merging mean?

Using subversion 1.5 I have branch B which was branched off of branch A. After doing work in both branches I go to merge changes from A into B (using svn merge http://path/to/A in the working directory of B) and get svn: Target path does not exist. What does this mean? ...

Import legacy project (dated series of folders) into Subversion

Hi, Does anyone know of an easy way to import a legacy project, whose "version control system" is a series of dated folders, into SVN, so that the history of the revisions is preserved? The project I inherited was not under version control, and there are hundreds of folders, each dated like: 2006-11-26, 2006-11-27, etc... Thankfully i...

SVN: Dealing with "dead" files.

I have an SVN repository. Over time, as I edit, modify, change, etc, some files are made redundant/unwanted. What's the best practice: to delete the files from SVN, or just to zero the files out? Or is there a third option that I'm missing? Thanks. ...

How do I hide directories in Apache, specifically source-control?

I want to keep my website/s in version control (Subversion specifically) and use svn co to update it when there are stable versions to update, but I'm concerned about the security of doing so, as all the .svn folders will be public, and these include all sorts of private data, not least of which is complete source code to my website! I...

How do I get a list of all unversioned files from svn?

Sometimes youre developing and you decide to commit, forgetting you created a few files on your project. Then a few days down the line your buddy gets your build out of subversion and complains that some files appear to be missing. You realize, ah crap, I forgot to add those files! How can I get a list of the files that are not under ve...

Source control system for small database dev team

I am responsible for a small development team and we deal mainly with database development. We are currently using MS Visual Source Safe as our source control system, but it has its limitations and we are seriously thinking about changing. What system would you choose? ...