version-control

Offline source control

I'm about to start a project where programmers will be contributing from their homes (much like stackoverflow was built) I want to use some centralized source control, but I don't want it to require the programmers to be online, and the server may come offline from time to time (as at first it'll probably be my desktop machine) I think...

CVS Automation: How do I detect a local file has been deleted so as to trigger a cvs remove?

I'm looking to automate the backup of a Windows XP file structure (a wiki) into CVS. Through repeated calls to cvs commit and cvs add I can identify and commit changed files and newly added files, but I can't see a cvs command that would let me know a local file has been deleted. One possibility would be to update a parallel file stru...

Source Control for an Academic Research Group?

In contrast to most software development organizations, our little research group within a university department consists of a professor and a flow of grad and undergrad students, it's hard to retain any working knowledge beyond the research itself. Our backgrounds vary, and rarely involves much computer science background. (i have not ...

Forbidding SVN commit lacking description

I have an SVN repository and I need the commits to fail if no description is entered. Is this possible to do, preferably server-side? (The users use several different tools for interacting with the repository; although if this were possible client-side in TortoiseSVN, that would alleviate the problem) Google has not been very helpful, c...

How do you keep your metadata under version control?

We have a database that persist our metadata and data. Our metadata is produced buy a dedicated team, using a Web application on the development server, and is a critical part of our application. Then the customer generates data according to this metadata. We already version the database schema, and all schema change. The next step is...

Is there an acceptable GUI client for git-svn?

My employer uses subversion for version-control, and this is unlikely to change. I'm interested in learning more about git, and using git-svn to interface with my employer's subversion repositories. My question is: if I were to begin using git-svn, would I need to do some or all of my version control work from the command-line? Or is the...

Best practice for SVN tags?

Should I use them as separate releases? Do I check them back into trunk or branches? Is this all in the red book and I've just wasted your time? ...

Merging vcproj files - SCM's hell

Hi all, Merging project/solution files is a well-known disaster among developers/SCM admins performing merges in their source control. Take, for example, a common scenario: development is done on a project/solution in two different branches. When time comes to merge back into a main development line, there is a very small resemblence ...

Can I disable identifier checking in SQL Server 2005?

I have an assortment of database objects (tables, functions, views, stored procedures) each scripted into its own file (constraints are in the same file as the table they alter) that I'd like to be able execute in an arbitrary order. Is this possible in SQL Server 2005? Some objects as an example: Table A (references Table B) Table B (...

Team Foundation Server Source Control Structure

I have been working on standardizing the source control structure for our Team Foundation Server rollout for the new year. I have started by using the Microsoft Team Foundation Server Branching Guidance documentation available on CodePlex. I was hoping to get some feedback and answers to a few of the specific questions I have about the...

Where should external assemblies be place in my Visual Studio solution so that they are part of source control?

I have a multi-project solution. I believe it is best practice to put all externally referenced assemblies (e.g. OSS stuff) in a folder that is on the relative path of the solution and it's component projects. I'd like to create a real folder called Libs within the same Windows folder that contains my .sln file and add it to source con...

Can someone explain source (versioning) control to me?

I've never worked on a professional project with a team, as I'm still in high school. As a consequence, I've never been exposed to this whole "versioning" and "source control" thing. Are they the same? How exactly does a program that manages code manage code? I've heard you have to check out code (copy the existing code?) and merge it ba...

Moving from CVS to git: $Id:$ equivalent?

I read through a bunch of questions asking about simple source code control tools and git seemed like a reasonable choice. I have it up and running and it works well so far. One aspect that I like about CVS is the automatic incrementation of a version number. I understand that this makes less sense in a distributed repository, but a...

Best practice for storing and referencing DLL libraries?

Often times a developer on my team will create a new Visual Studio project and reference a DLL somewhere on their local machine (e.g., C:\mydlls\homersimpson\test.dll). Then, when I get the project from the source control repository, I cannot build the project because I do not have the referenced dll in the exact same location on my mac...

Can an old exported set of files be compared to a subversion repository?

Here is the problem: We have all of our development under subversion, but our beta versions are just mish-mashed bits of exported files that were not all put there at the same time. Or, to put it another way, we make our changes to versioned files, and then when we think we are happy, we manually export them by simply copying them to a d...

How can I view differences in VS2008 before checking a file into SourceSafe?

We have an old Classic ASP application that we have been using Visual Studio 6 to maintain. This has worked fine, but we're ready to step out of the stone age and I'd like to see if I can use Visual Studio 2008 (SP1) to maintain the application. In the past, multiple developers could work on the application and it was under source cont...

Fast/easy renaming of filenames in TFS (CodePlex)

I host a project on CodePlex, but a bunch (200+) files need to have their extension changed. What is the easiest, least painful way to do this? I cant see myself doing them one by one in the IDE. Update: I know I can just remove and change them via the commandline/utility, and readd them, but that would lose history. Perhaps there ...

What should I propose for a reusable code library organization?

My organization has begun slowly repurposing itself to a less product-oriented business model and more contract-oriented business model over the last year or two. During the past year, I was shifted into the new contracting business to help put out fires and fill orders. While the year as a whole was profitable (and therefore, by at le...

Detect OS from a bash script

I would like to keep my .bashrc and .bash_login files in version control so that I can use them between all the computers I use. The problem is I have some OS specific aliases so I was looking for a way to determine if the script is running on OS X, Linux or Cygwin. What is the proper way to detect the operating system in a bash script...

Migrating from SVN to Perforce -- Tips? Experience?

We have a fairly large SVN repository which we are looking to migrate to perforce. We very much want to keep the ~20k revisions, the branches, etc, but in some initial tests the svn2p4 script that perforce provides wasn't able to replicate the full structure. Have people had success with this tool, or were there others that my google ...