version-control

Checklist for Database Schema Upgrades

Having to upgrade a database schema makes installing a new release of software a lot trickier. What are the best practices for doing this? I'm looking for a checklist or timeline of action items, such as 8:30 shut down apps 8:45 modify schema 9:15 install new apps 9:30 restart db etc, showing how to minimize risk and downtime. Iss...

alternative to VSS for a one man show (army of one?)

I've been programming for 10+ years now for the same employer and only source code control we've ever used is VSS. (Sorry - That's what they had when I started). There's only ever been a few of us; two right now and we usually work alone, so VSS has worked ok for us. So, I have two questions: 1) Should we switch to something else like su...

Is there anything like TortoiseCVS and TortoiseSVN for git?

I looked briefly, but I didn't see anything right off. Does anyone know anything for ...

Installing Team Foundation Server

What are the best practices in setting up a new instance of TFS 2008 Workgroup edition? Specifically, the constraints are as follows: Must install on an existing Windows Server 2008 64 bit TFS application layer is 32 bit only Should I install SQL Server 2008, Sharepoint and the app layer in a virtual instance of Windows Server 200...

How do I rollback a TFS check-in?

I'd like to rollback a change I made recently in TFS. In Subversion, this was pretty straightforward. However, it seems to be an incredible headache in TFS: Option 1: Get Prior Version Manually get prior version of each file Check out for edit Fail - the checkout (in VS2008) forces me to get the latest version Option 2: Get TFS Pow...

Should I use a software hosting solution for my personal projects?

Right now, I keep all of my projects on my laptop. I'm thinking that I shouldn't do this, but instead use a version control system and check them in/out from an external hosting repository (Google Code, SourceForge, etc). I see several benefits here - first, I don't have to worry about losing my code if my computer crashes and burns or m...

How do I perform a recursive checkout using ClearCase?

I want to check out all files in all subdirectories of a specified folder. (And it is painful to do this using the GUI, because there is no recursive checkout option). ...

Testing and Managing database versions against code versions

As you develop an application database changes inevitably pop up. The trick I find is keeping your database build in step with your code. In the past I have added a build step that executed SQL scripts against the target database but that is dangerous in so much as you could inadvertanly add bogus data or worse. My question is what ...

Subversion ignoring "--password" and "--username" options

When I try to do any svn command and supply the "--username" and/or "--password" options, it prompts me for my password anyways, and always will attempt to use my current user instead of the one specified by "--username". Neither "--no-auth-cache" nor "--non-interactive" have any effect on this. This is a problem because I'm trying to ...

Branching Strategies

The company I work for is starting to have issues with their current branching model, and I was wondering what different kinds of branching strategies the community has been exposed to? Are there any good ones for different situations? What does your company use? What are the advantages and disadvantages of them? ...

Easy/Simple online source control?

I'm working on a project with a small team for a couple months. We need simple source control. Preferably something online. Any suggestions? ...

Do you continue development in a branch or in the trunk?

Suppose you're developing a software product that has periodic releases. What are the best practices with regard to branching and merging? Slicing off periodic release branches to the public (or whomever your customer is) and then continuing development on the trunk, or considering the trunk the stable version, tagging it as a release pe...

What is the Difference Between Mercurial and Git?

I've been using git for some time now on Windows (with msysGit) and I like the idea of distributed source control. Just recently I've been looking at Mercurial (hg) and it looks interesting. However, I can't wrap my head around the differences between hg and git. Has anyone made a side-by-side comparison between git and hg? I'm interest...

Version Control for word documents

How would people recommend doing version control for word documents? Is the in build control up to the job or is it better to rely on dedicated version control systems, and if so, which ones? ...

Best Practices for versioning web site?

What's are the best practices for versioning web sites? Which revision control systems are well suited for such a job? What special-purpose tools exist? What other questions should I be asking? etc... ...

Team Explorer on codeplex anonymously

Hi, I was on codeplex and trying to connect to their source control using team explorer. No joy though. I tried connecting with https or http, using the server name and the project name. As I do not have a user on codeplex I could not login. I am just trying to check out some code without changing it. My question is: How can you con...

Best version control system for managing home directories

I have 3 Linux machines, and want some way to keep the dotfiles in their home directories in sync. Some files, like .vimrc, are the same across all 3 machines, and some are unique to each machine. I've used SVN before, but all the buzz about DVCSs makes me think I should try one - is there a particular one that would work best with this...

Do you version "derived" files?

Using online interfaces to a version control system is a nice way to have a published location for the most recent versions of code. For example, I have a LaTeX package here (which is released to CTAN whenever changes are verified to actually work): http://github.com/wspr/pstool/tree/master The package itself is derived from a single f...

Should I use GitHub+Fogbugz or Assembla?

I'm trying to work out the lowest friction hosting solution for a bunch of open source, one man (i.e., me) projects. Recently I started using Git and naturally fell into using GitHub as well, which I've found very nice. I also discovered that Fogbugz is free for small teams and started using that for my bug tracking. Recently I've read ...

Git "bad sha1 file" error

Hello I have following error by git-fsck, witch cannot be cleaned by git-gc even in --aggressive mode. What can I do next to fix this repository error? $ git-fsck bad sha1 file: .git/objects/55/tmp_obj_a07724 ...