version-control

Can multiple custom checkin policies for TFS be in the same assembly?

I am implementing multiple custom checkin policies for TFS and I am wondering if they all need to be in the same assembly or if I have to put each one in its own assembly. ...

Why bundle version control plugin with IDE?

I was always wandering why it is a big deal having version control support inside an IDE. I always preferred to use commandline/standalone version of version control of choice, and never found IDE integration helpful. I know it can be helpfull sometimes, for example to automatically keep track of renames, but I was bitten by version c...

SVN? VSS? Why is one better than the other?

I tend to get the feeling that most folks here think SVN is gold-plated goodness, whereas VSS is the worst program ever devised (at least as Version Control is concerned). That said, why? I've used some CVS, and my current job uses VSS, and from a grunt on the team's perspective, I can't really tell that much difference. Most of the d...

Is it possible to implement pre-tested commits in TFS?

I'm intrigued by the idea in TeamCity of pre-testing commits (i.e. verifying they don't break the build before allowing check-in to occur) and I'm wondering if there is any way to implement this in TFS. It looks like TeamCity can interface to TFS version control as a backing store but of course I'd prefer a free solution. ...

Web store version control for very small group or individual?

For very small teams, or an individual developer, is there a source code control tool which is a web service, or web based application, with no or very little cost? Ideally, it would work with Microsoft development. IDE Integration would be awesome, but a windows application that connects to the web service would also be sufficient. Wo...

Git: Remove file accidentally added to the repository.

I had a conflict in a merge. Git creates filename.orig and filename.remote when a conflict happens. I resolved the conflict, but somehow filename.orig got added to the repository several commits ago without me noticing it until now. Is it possible to rewrite the change history such that filename.orig was never added to the repository ...

Starteam will not check-in a new file added to a project.

I am using Visual Studio 2005 and StarTeam 2008 (cross-platform client and VS integration). At some point, I added an 'App.config' to a project. I notice now that this file will not check-in. The 'StarTeam Pending Checkins' window in VS reports the file 'Not in View'. Selecting it for check in and clicking 'Check In Files' causes a dia...

Workspace problem once the user name has been changed in TFS Source Control

For some reason the system admin changed my user name from XxXx to XxXx1 in the source control system. Then the problems started. I had to delete all local files and re-download them from source control just to open the project. And after I had rebooted the computer, I can't do much to my files. Whenever I try to undo a checkout I get t...

Source control setup

I thought I'd get myself a Subversion setup at home for my hobby projects, and I'm trying to do it right, first time (my work's source control control policies or lack of them are, well, not perfect). The thing I'm struggling with is this: I'd like to version entire Eclipse projects. This will be good from Eclipse's point of view - I'...

Git for beginners: The definitive practical guide

Ok, after seeing this post by PJ Hyett, I have decided to skip to the end and go with Git. So what I need is a beginner's practical guide to Git. "Beginner" being defined as someone who knows how to handle their compiler, understands to some level what a Makefile is, and has touched source control without understanding it very well. "...

Crontab revision control?

I've got a few dozen Linux machines running cron and I'd like to put the crontabs in some sort of revision control system. For source control I use Mercurial (hg), so that'd be ideal, but if there's some other system that is better suited to this task I'd consider it. One aspect which is specific to my situation is that all the crontab...

Preparing a development tools machine

Hi, I am working on a small project with a few friends and need to set up a server to run our tools. I looked around at hosted solutions like Unfuddle but they don't provide a CI server. I am now considering buying a Linode and running the following on it: Mail : Apache JAMES CI : Hudson Wiki/Tracker...

tfs database size - version control

I have TFS installed on a single server and am running out of space on the disk. (We've been using the instance for about 2 years now.) Looking at the tables in SQL Server what seems to be culprit is the tbl_content table, it is at 70 GB. If I do a get on the entire source tree for all projects it is only about 8 GB of data. Is this...

How To limit file size in TFS

Is there a way to set a maximum size for files that can be check in into source control under Team Foundation Server 2005 or 2008? In the past, when we worked with SourceSafe there were several cases were developers decided to checkin a 500mb data file to source control. I don't know what such a thing will do to TFS - and actually, I ...

Synchronizing code with two subversion repositories

A bit of background first: I am using "base" code from a remote SVN repository, not under my control. The code is not tagged (yet), so I always need to keep up with the trunk. For a number of reasons (the most important being that our local extensions to the code are of a "niche" nature, and intended to solve a specific problem with t...

Forking Subversion Project

I've never forked a project before so I'm a little stumped as to how to proceed. I have a project that I use on my own that I release as a BSD licensed project (Project A). At work I want to use that code but with modifications specific to our company (Project B) but I want to be able to still update with features that come from the base...

Preventing a file overwrite with Git

Hi, my company started recently to use Git for source version control, and due to the incompetence of the coders - that's me and my boss :-P - we have a really nice spaghetti of files being overwritten here and there. Is there a way to mark certain files as 'untouchable' so if when updating a branch from another either do(es)n't overwrit...

Best practices for version control comments

There is a lot of conversation about commenting code, but how about commenting on check-ins? I found this blog post: http://www.redbitbluebit.com/post/Subversion-Check-In-Comment---Great-Practices.aspx As the guy who is putting together the release notes, I am looking for ways to make that job easier. Currently we defined our own sche...

In Perforce, what is the command to connect to a different port when switching client user?

What is the command-line equivalent of "Switch Port Client User" as found in the p4win gui client? I am already logged under one port but now I am attempting to connect to a different port on the same server in order to access a separate source control file depot. I assume it would involve using: p4 login However, reading the 'help'...

How do you deal with visual basic 6 frm and frx files in source control?

This is always a pain no matter what source control system I have used (source safe, cvs, clearcase...) the binary .frx files always cause a problem when merging visual basic forms. I know...I know...why are you using Visual Basic...because there are lots of legacy apps still written using it and although I hate to admit it I actually l...