svn

Source Control Advice

Hello, I've inherited a significantly sized internal app at the company I work for. It has two parts. One runs on a LAMP server, the other runs on a WAMP server. There is no source control to be seen. Currently, developers will log into each server via FTP and just directly edit the PHP files that are there. Or log into phpMyAdmin ...

Code Promotion with Subversion

I'm working on migrating our dev team to Subversion and improving our repository structure and processes. We're basically going with the standard trunk/branches/tags setup. I was originally planning on using a release branches strategy (branches/1.0, branches/2.0, etc), but am now leaning toward a code promotion model (test and productio...

How can I manage merging updates from several developers?

I work with a mid-sized team of developers all working on one product. Developers write the code to address a feature or bug fix ticket, then check it into our main development branch (in Subversion). Once the ticket has been tested and validated there by the QA folks, I merge it into the trunk. I normally do this manually, since a lo...

When it comes to developing for the IPhone, should I use Git or Subversion?

It sounds to me like subversion's centralized model works better for web application development where you have a team of engineers working currently on the same code base and releasing constantly. On the other hand Git's distributed model is appealing for an IPhone app because 1) I dont' need a connection to browse the repository 2) it...

SVN Repository Structure - Why is this better?

I've been told that most development shops have the following structure or at least close to this: Main Repository Project folders underneath Each Project folder has a trunk, branches, and tags folder so: ReponsitoryMain Project1 branches trunk tags Project2 ... So why is this better or be...

How to remove SVN from a folder

If I want to take a folder that was under subversion and remove any link to subversion at all, do I just delete the .svn folders and that's it? Anything else I have to consider? ...

Repository Structure with Tortoise SVN Question

Most people structure their repositories as so, which is best practice MainRepository Project1 branches trunk tags Project2 branches trunk tags ..and so on would there ever be a need to create a second repository? I think most people have lived with only one as best practice and would...

Standalone SVN client for Mac OS X

Tortoise SVN on Windows allows a single user without a network connection to create a repository on the user's machine to check code into, without needing any separate server installation or configuration. This is very useful for lone developers. Is there an SVN client for Mac OS X with this feature? ...

Update Item to Revision vs Revert to Revision

I've started to use Subversion with TortiseSVN. If I open up the log and right click on an old revision I see two options that sound like they roll back to an older version: "Update item to Revision" and "Revert to Revision". I understand that updating to an older revision is used when you only want to look back at an old version but no...

How does Subversion handle file permissions and a .htaccess file?

I'm using Subversion for one of my PHP projects. I have two questions/issues: How are file permissions handled with Subversion? If I have a file that I CHMOD to 755, and I check that file into the repository, will it have the same permissions when it's checked out into other working copies? If it does not copy, do I really need to chan...

SVN externals change source to target directory

I am using svn 1.6, is it possible to have: ? source directory shared\code\depends\make1.3 - contains file make.1.3 target directory trunk\make\ - i want make.1.3 in trunk\make\ Have an SVN external from the above source to the target I have tried /shared/code/depends/make1.3 make When i do an update i get error: External faile...

Subversion: Add all unversioned files to subversion using one linux command

Sometimes I include many files in different directories in my project. For now I am adding all files one by one to my project before commit. Is there any Linux terminal command that can add all unversioned files to subversion. And what if I want to add all files excepting one or two files. ...

For home projects, can Mercurial or Git (or other DVCS) provide more advantages over Subversion?

Which free source control system is most preferable with reason for home projects and documents? I am thinking to use Subversion (as I am familiar with it). Characteristic of home project: Most likely single person will be committing changes. (May be one day (not now), it is possible that I share a project with my friend who is in ot...

libapache2-svn, matching version with Subversion 1.6.1

Hello, I'm installing subversion on an Xubuntu desktop system with apache2 installed and running fine. However, I wanted to use Subversion 1.6 because of the sparse directory feature. I'm running Jaunty, but I was able to tell apt-get to download 1.6.1 by temporarily adding the software source "deb http://source archive.canonical.com/ubu...

How to fix a subversion (VisualSVN) repository

I have a subversion repository that I committed to and it's hard drive crashed. My latest backup is one revision behind. I can't commit to the backed up repository because the working copy is one revision ahead. How do you fix this? ...

Shell: SVN status pipe to php to check syntax

I know this is simple but I just cant figure it out. I have a bunch of files output by "svn st" that I want php to do a syntax check on the command line. This outputs the list of files: svn st | awk '{print $2}' And this checks a php script: php -l somefile.php But this, or variants of, doesn't work: svn st | php -l '{print $2}' Any...

How do I prepend history to a git repo?

I have a project that has existed in two SVN repositories. The second SVN repo was created simply by adding the repos from a checkout of the old SVN repository without SCM info stripped. The content of the files are byte identical, but there is no associated SCM meta-data. I have taken the new SVN repo and ported it into a Git repo vi...

Are there any SVN clients for Expression Blend?

Is anyone aware of any SVN clients for Expression Blend? Maybe early days but it would be nice to have rather than continually switching back to Windows Explorer and using Tortoise. ...

What is a correct way to move directories with TortoiseSVN?

If I move a directory to another place inside the same repository by dragging it to the new place in Tortoise, I cannot checkout revisions prior to the move, because the URL to these old revisions is not valid anymore. How do you move a directory and still be able to access revisions before the move? Example: If I move trunk/folder1...

Commit from directory, not under version control, to override current revision

The title is propably misleading so I try to explain my situation. I have a Subversion repository and a revision that is older than the head revision, I call it now revision X. My revision was changed (X+1) and ripped off the version control system. There are no .svn directories or something like this in this local folder. I would like...