svn

Subversion: Moving Directories with History

I have a SVN structure like this: /Projects /Project1 /Project2 /someFolder /Project3 /Project4 Now, i would like to move all the projects into the /Projects folder, which means I want to move Projects 3 and 4 from /someFolder into the /projects folder. The caveat: I'd like to keep the full history. I assume that ever...

What is the reasoning behind the recommended layout for Subversion repositories?

Version Control with Subversion recommends the following layout for (single-project) repositories (complemented by this question): /trunk /tags /rel.1 (approximately) ... /branches /rel1fixes What are the relative merits of this arrangement when compared with a (perhaps) more process-oriented one?: /development /current /st...

Programmatically updating FILEVERSION in a MFC app w/SVN revision number

How do I go about programmatically updating the FILEVERSION string in an MFC app? I have a build process that I use to generate a header file which contains the SVN rev for a given release. I'm using SvnRev from http://www.compuphase.com/svnrev.htm to update a header file which I use to set the caption bar of my MFC app. Now I want to us...

How to access the current Subversion build number?

duplicate: How do I sync the SVN revision number with my ASP.NET web site? How can you automatically import the latest build/revision number in subversion? The goal would be to have that number visible on your webpage footer like SO does. ...

How can I get the svn revision number in PHP?

I want to have my PHP Application labeled with the revision number which it uses, but don't want to use CruiseControl or update a file and upload it everytime. How should I do it? ...

TortoiseSVN Error: "OPTIONS of 'https://...' could not connect to server (...)"

I'm trying to setup a new computer to synchronize with my SVN repository that's hosted with cvsdude.com. I get this error: Here's what I did (these have worked in the past): Downloaded and installed TortoiseSVN Created a new folder C:\aspwebsite Right-clicked, chose SVN Checkout... Entered the following information, clicked OK: U...

How do you re-attach a subversion local copy to a different remote?

Our subversion repository has been moved to a new host, and we have old applications that connect to that host. We CANNOT add an alias for the new server with the old name, how can we re-connect our checked out clients to the new repository? ...

using dotnetnuke (dnn) with with subversion.

Currently i am developing sites using DNN framework. Currently my development and staging environment is same. Client is vewing same site which I am using for development. I have started using tortoise svn (subversion) for maintaining versions and backup. I am using file based svn repository for it. The issue is svn creates .svn folder...

Svn ignore versioned on update

I have this setup where in my development copy i can commit changes on a certain file to the repository. Then in my production copy, which does checkouts only, i would normally edit this file because this contains references which are environment independent. Is there any way i can ignore this file on the subsequent checkouts/updates wit...

Running Trac on Windows?

Looking for a guide/tutorial that easily explains how to setup and run trac with subversion on windows. ...

Setting up Subversion on a Red Hat system

I'm fairly new to the world of versioning but would like to introduce Subversion into our small development team as we're finding that more and more we are working on the same projects/files. We primarily code in PHP on a LAMP environment (Red Hat Enterprise). What I'm looking for are some starting points to get me up and running such a...

error when switching to different svn branch

I've got two SVN branches (eg development and stable) and want to switch from one to another... In every tutorial there is command like: rootOfLocalSvnCopy:>svn switch urlToNewBranch . But it leads in error in my case: svn: REPORT request failed on '/svn/rootOfLocalSvnCopy/!svn/vcc/default' svn: Cannot replace a directory from within ...

How do I convince my team to drop sourcesafe and move to SVN?

My development team uses source safe at a very basic level. We're moving into some more advanced and extended development cycles and I can't help but think that not using branching and merging in order to manage changes is going to be biting us very soon. What arguments did you find most useful in order to convince your team to move to...

How to ignore a directory with SVN?

Just started using SVN and I have a cache directory that I don't need under source control. How can I ignore the whole directory/folder with SVN? Edit: Using Versions and TextMate on OSX and commandline ...

Javascript to extract author/date from SVN keyword substitution

SVN keyword substition gives is not pretty. E.g., Last updated: $Date$ by $Author$ yields Last updated: $Date: 2008-09-22 14:38:43 -0400 (Mon, 22 Sep 2008) $ by $Author: cconway $" Does anybody have a Javascript snippet that prettifies things and outputs some HTML? The result should be more like: Last update: 22 Sep 2...

Avoid Deletions of Files using TortoiseSVN

I am setting up Apache server with TortoiseSVN for a local source code repository. I have observed that if someone deletes a file using TortoiseSVN it will get deleted from everyone's view and the only log will be their in log history. I feel it is dangerous that any user can delete a file if they have read/write rights (accidentally or...

What's the best way to use SVN to version control a PHP site?

I've always just FTPed files down from sites, edited them and put them back up when creating sites, but feel it's worth learning to do things properly. I've just commited everything to a SVN repo, and have tried sshing into the server and checking out a tagged build, as well as updating that build using switch. All good, but it's a lot...

Grafting a git history on to a svn branch

The situation I have a git repo and an svn repo that both hold the same source code but different commit histories. The git repo has a lot of small well commented submits... while the svn repo has a few huge commits with comments like "Lots of stuff". Both series of commits follow the same changes made in the code and are roughly equival...

How do I branch an individual file in SVN?

The subversion concept of branching appears to be focused on creating an [un]stable fork of the entire repository on which to do development. Is there a mechanism for creating branches of individual files? For a use case, think of a common header (*.h) file that has multiple platform-specific source (*.c) implementations. This type of b...

Best Way To Add Version Control To Existing Project

Hey guys, I am currently working on a project and it's grown to a decent size, but I am the only developer. We currently don't use any version control, but I definitely need to start. I wanted to use Subversion but I was wondering what would be the best way to transfer an existing project to it. I have a test server that I use for devel...