version-control

free utility to script DB objects in ms sql

I'm trying to implement database source control. the tool I need should create a separate file for each object in the database, preferably arranged in folders, like stored procedures functions views tables and it would be great being able to also dump the results of certain queries, in order to keep track of the data changes in sever...

.xcodeproj does not get committed with XCode's SCM Tool

I am using the SCM Tools embedded in XCode to manage my app's versioning. I have created an iPhone app and I have added/committed it to the Subversion server but the .xcodeproj file won't upload (all the class files, resources etc are there)! I don't even get the option to "Add to Repository". Sometimes it gets an "A" (add) next to it u...

TFS query (in Visual Studio) to get all check-ins

Hi, I'm trying to get a list of all check-ins (limited / ordered by date) via the TFS query editor in Visual Studio Team Explorer. I can make a query that lists all bugs, sprint backlog item or product backlog item, but I can't find the actual check-in. Is it's possible or should I make (SQL) queries directly on the database. Ideas?...

How do I protect the trunk from hapless newbies?

A coworker relayed the following problem, let's say it's fictional to protect the guilty: A team of 5-10 works on a project which is issue-driven. That is, the typical flow goes like this: a chunk of work (bug, enhancement, etc.) is created as an issue in the issue tracker The issue is assigned to a developer The developer resolves t...

Unable to combine Version2 to Version1 in Git

I have two files which are called version1 version2 Version1 has my own changes, while version2 is based on version1 but it has other people's changes too. I run the following command at my Git folder where Version1 is git add version2 I now have two separate files in Git. I would like combine them now. Which command should I ru...

What is the best source control product for Visual Studio development?

I work in a Visual Studio/.NET shop which is still using VSS 2005 for source control. We are looking to upgrade to VS Team Foundation Server and use it's source control system, but I'm curious if that's really the best option. The creators of StackOverflow use Subversion but comment that it's a pain to merge code forks back into the main...

Introduction to Mercurial

Hey, I have just begun working on a project which uses Mercurial as a version control system, and I need some basic tips on how to use this. Please use this question to give some introductory tips on this technology. The official Mercurial site Especially, I am looking for tips on the best programs to use and the best techniques to ...

Accessing svn repo wtih TortoiseSVN from work vs. home + VPN

I get the same error described in this other SO post. The difference is that things are working when I'm at work where I don't have to VPN to the network. But when I try to access the same exact SVN repo from home I get the following error: TortoiseSVN Error: “OPTIONS of ‘https://…’ could not connect to server (…)” This was never a prob...

SSIS Packages - Issues with version control and maintenance

We have been developing SSIS packages for about a year now, and have 2 major issues associated with the maintenance of these packages : 1) We are using version control, but trying to identify the changes between versions of packages is a nightmare - the results of a text diff between 2 versions of a package is basically unusable. 2) Fo...

Is Git only for source control?

Is it insane to integrate Git into the project that has nothing to do with source control. I am thinking about data collector that regularly runs several commands on the client side and commit the output into the local git repository. If remote server is available it pushes the data in origin for further processing on the server side. ...

List all files that haven't been edited in a year in CVS

How do I get a list of all the files have haven't been changed in the past year in a repository in CVS? ...

Is it possible to do a server-only rename in TFS source control?

As of late, my team and I have been hard at work turning our inherited source code into something we can live with. Part of this process is to make the source control image look a little more like what most people might expect to find when browsing a repository. The original structure contains a branch called "Branches", the contents of...

Is there a modern free D?VCS that can ignore mainframe sequence numbers?

I'm looking at migrating a large suite of IBM Assembler Language programs, from a vcs based on "filenames include version numbers", to a modern vcs which will give me, among other things, the ability to branch and merge. These files have 80-column records, the last 8 columns being an almost-meaningless sequence number. For a number o...

Extracting VBA from a Excel spreadsheet

Is there a clean way to extract the VBA from a spreadsheet and store it in a repository. The spreadsheets hardly ever change but the VBA does. Storing the whole spreadsheet in the repository makes it difficult to do diffs across the different VBA revisions to see what code has changed and who changed it. We use VBA 6.5 / Excel 2003. ...

How can I put a database under git (version control)?

I'm doing a web app, and I need to make a branch for some major changes, the thing is, these changes require changes to the database schema, so I'd like to put the entire database under git as well. How do I do that? is there a specific folder that I can keep under a git repository? How do I know which one? How can I be sure that I'm pu...

How to perform something akin to svn tagging in Git ?

My application needs to conform to a new specification. So I want to tag a version of my app as it stands. I want to be able to check out this version in the future. I committed all my latest changes. And I do: git tag -a stable-pre-new-spec When I execute: git show stable-pre-new-spec it displays the diffs from my last commit ?...

ASP.NET Version control

How do i set the version on a asp.net project? as the properties dont contain any thing... there is no project file in the folder where the webpage is. ...

TFS Does TFS still need .vspcc files?

We're using TFS and we're having problems when we switch branches, it's throwing up problems with the TFS bindings every single time. We still have .vspcc files .vsscc files which is I'm guessing where it stores the bindings, does anyone have any advice on how to easily switch between branches in TFS without pain? ...

Mercurial hook not executing properly

This should be a very simple thing to have run, but for some reason it won't work with my Mercurial repository. All I want is for the remote repo to automatically run hg update whenever someone pushes to it. So I have this in my .hg/hgrc file: [hook] changegroup = hg update Simple, right? But for some reason, this never executes. I al...

What version number scheme for poorly planned, branched, and schizophrenic application

I'm looking for a version numbering scheme/pattern/system for an application that is currently branched into several versions with shell game style release dates. This has made versioning a nightmare. I'd like to just use the typical Major.Minor.Revision however this will break down for me quickly the way things are presently run around ...