version-control

ReSharper Code Cleanup/Reformat Code feature vs Versioning Control Systems

ReSharper Code cleanup feature (with "reorder members" and "reformat code" enabled) is really great. You define a layout template using XML, then a simple key combination reorganizes your whole source file (or folder/project/solution) according to the rules you set in the template. Anyway, do you think that could be a problem regarding ...

Recovering from a slightly out of date subversion repository backup

A problem I ran into a while back I never found a good solution for... Say you have a working copy checked out from subversion at revision 7500, and the disk holding the current repository dies. You've got a backup of the repository at, say, revision 7450. It's easy to restore the repository backup, but any attempt to use the working co...

Copying a directory that is version controlled

I am curious whether it is OK to copy a directory that is under version control and start working on both copies. I know it can be different from one VCS to another, but I intentionally don't specify any VCS since I am curious about different cases. I was talking to a coworker recently about doing it in SVN. I think it should be OK, bu...

Database changes versioning

What are the recommended strategies to do versioning of database changes to tables, views, functions, stored procedures, etc.? ...

Perforce blame

Is there an equivalent of svn's blame for Perforce on the command line? p4 annotate doesn't display usernames -- only changeset numbers (without ancestor history!). I currently have to track code back through ancestors and compare against the filelog, and there just has to be an easier way -- maybe a F/OSS utility? ...

Any tool to migrate repo from Vault to Subversion?

Are there any tools to facilitate a migration from Sourcegear's Vault to Subversion? I'd really prefer an existing tool or project (I'll buy!). Requirements: One-time migration only Full history with comments Optional: Some support for labels/branches/tags Relatively speedy. It can take hours but not days. Cost if available Bon...

Best build process solution to manage build versions

I run a rather complex project with several independent applications. These use however a couple of shared components. So I have a source tree looking something like the below. My Project Application A Shared1 Shared2 Application B Application C All applications have their own MSBuild script that builds the project and all the s...

Version control of deliverables

We need to regularly synchronize many dozens of binary files (project executables and DLLs) between many developers at several different locations, so that every developer has an up to date environment to build and test at. Due to nature of the project, updates must be done often and on-demand (overnight updates are not sufficient). This...

Best way to migrate from VSS to Subversion?

I'm a single developer looking to get off of Visual Source Safe and move to svn. A quick search brings up several tools, but I don't see a clear winner and I can't afford to spend a lot of time testing different tools. Has anyone done this successfully, and can recommend a method? ...

Source Control for Web Development

I am working on a web project, and need to get it into source control. I have looked at svn, git, and a few others, and I will admit that I don't understand at all. The bigger issue is that these seem to keep code in a sort of database and not a real file structure. When we develop we usually do it by making edits and then saving them to...

How do I get a particular labeled version of a folder in Borland StarTeam?

I'm about to perform a bunch of folder moving operations in StarTeam (including some new nesting levels) and I would like to set a label so that I can roll back in case of issues. I figured out how to set a label on a folder and all its children, but I couldn't figure out how to get the version of that folder corresponding to that parti...

Git commit text file?

I am trying to learn how to use git, and in all the tutorials they say that you can do git init git add . git commit but when I do that I get a big text file opened up, and none of the tutorials seem to address this, so I dont know what to do. Any help? ...

Are there any open source PHP-based source control scripts that have a GUI?

I've been looking for one, but haven't been able to find anything that's even close. Edit: I really would prefer something that's completely written in PHP, with a web interface rather than a command line. It doesn't have to have all the bells and whistles. ...

Dealing with SVN keyword expansion with git-svn

I recently asked about keyword expansion in Git and I'm willing to accept the design not to really support this idea in Git. For better or worse, the project I'm working on at the moment requires SVN keyword expansion like this svn propset svn:keywords "Id" expl3.dtx to keep this string up-to-date: $Id: expl3.dtx 803 2008-09-11 14:...

How to modify the defaul Check-in Action in TFS?

The default check-in action for a work-item is "resolve". I'd like to set it to "associate" so that this work item isn't automaticaly closed if I check-in stuff too fast. How can I do that? Thanks. ...

Which Version Control System would you use for a 1000+ developer organization? Why?

There are many SCM systems out there. Some open, some closed, some free, some quite expensive. Which one (please choose only one) would you use for a 3000+ developer organization with several sites (some behind a very slow link)? Explain why you chose the one you chose. (Give some reasons, not just "because".) ...

Any recommendations for deployment from SVN, with version numbers written into my code automagically?

I've gotten comfy with SVN, and now I need a way to deploy my code to staging or live servers more easily. I'd also like some method for putting build info in the footer of this site to aid in testing. Site is PHP/MySQL. ...

Installing Svn 1.5.x on Debian Etch - Best approach?

(a little off topic - although SVN is a key programming tool....) How do you install svn 1.5 on debian etch? The svn 1.5 packages available for etch are 1.4 and I really need the cool new merge tracking feature in svn1.5 (according to CollabNet its as good as ClearCase...an interesting statement in oh so many ways). So, what's the le...

How to actually use a source control system?

So I get that most of you are frowning at me for not currently using any source control. I want to, I really do, now that I've spent some time reading the questions / answers here. I am a hobby programmer and really don't do much more than tinker, but I've been bitten a couple of times now not having the 'time machine' handy... I st...

Save us from VSS!

Greetings. I'm a 1-2 man band at work, and so far I've been using VSS for two reasons 1) the company was using that when I started a few months ago, and 2) it is friendly with Visual Studio. Needless to say, I would very much like to upgrade to a not-so-archaic source control system. However, I don't want to give up the friendliness ...