version-control

Is it possible to use variables in a ClearCase config spec?

For example, instead of writing the following: element * .../my_branch_01/LATEST element * .../base_branch/LATEST -mkbranch my_branch_01 I would want to write something like this: MY_BRANCH=my_branch_01 element * .../%MY_BRANCH%/LATEST element * .../base_branch/LATEST -mkbranch %MY_BRANCH% Is this even possible? What is the correc...

Which version control programs can enforce running & passing of tests before integration of changes?

At my work we currently use Aegis version control/SCM. The way we have it configured, we have a bunch of tests, and it forces the following things to be true before a change can be integrated: The full set of tests must have been run. All tests must have passed. With test-driven development (TDD) these seem like sensible requirements...

How do you incorporate shared IP into multiple projects while still allowing easy branching?

Without access to git and git-submodule, I need to incorporate a shared-ip repository into two separate project repositories while minimizing the overhead of branching. People on either project need the ability to easily branch off their project's mainline trunk while also branching off the shared-ip repo. If/when the user modifies the...

How to use the Starteam vcmutility to automate a selective rebase?

In Borland Starteam I would like to automate a very simple rebase that only repins files (i.e. ignores everything else - assuming to be done with the wizard). Looking at the StarTeam Help "VCMUtility Session Options" I would like to set my DefaultAction for everything to ignore -- except source.modified should be repin. I do not see an...

How to use a subversion repository as a template for new projects?

I created a customised version of Wordpress for us to use as a template for our web projects, stored in an svn repository. It has various properties set (ignores, wordpress + plugins as externals) to ease workflow and updates. My question is, how to use this as a base for others projects / repositories? If you export, it loses all th...

Adding Shell Scripts to CVS from windows

I am going to add some Linux shell scripts to CVS. Can I download the scripts using SSH secure shell client to windows and then add to CVS using Tortoise CVS client? (Just for ease... We have nice GUI in tortoise otherthan using cvs commands :)) Will it destroy the privileges set from the Linux? ...

Completly manual Mercurial merge

Is there any way to take complete manual control over the merge process in Mercurial? I want to be able to choose direction of file-merge, even for files without conflicts. Is that possible? ...

How do I compare two git repositories?

I've got two different exports of our CVS repository into git. They diverge at some point, and I'm doing some investigation into why. The development line goes back several years and over tens of thousands of commits. At the beginning of the development line, the SHA1 IDs for each commit are identical, telling me that git-cvsimport is...

How to enable Menu Bar in Embedded Word

I am able to successfully embed the Web Browser Control in a Windows Forms application to load a Word Document. I am able to turn on the "Standard" Toolbar so that it shows. However, I am not able to display the Menu bar. The following snippet shows what I am doing: _wordDoc.CommandBars["Menu Bar"].Enabled = true; _wordDoc.CommandBars["...

a simple .net website source control system?

I work in Visual Studio working on sites mostly myself and occasionally I start on new features for a site and bam a bug pops up on the live site and now I am in the middle of changes and can't post a fix to the bug until everything I started to change is complete. So I am looking for a nice an simple way to work with this type of situa...

Continuous version control

I haven't seen a continuous version control system - one that would save changes in your code as you developed them, rather than waiting for an official check in. The changes would be saved as 'not checked in' of course, but they would be saved away for backup, and viewing by others before you actually did the official check in. I have...

Source control structure for prototype and real implementation

How should we structure a project in source control with prototype + 'real' implementation of the application? We work on a prototype for a new project and store that in source control (Subversion, but the question should be independent of that) with the following structure in our main repository with all our projects: [ProjectName]/ ...

VSS or SVN for a .Net Project?

At work, one of the head managers asked me to research on what could be the benefits of changing the current source control server (Visual Source Safe) of my project to SVN. I really don't have anything against SVN, actually I kind of dig it, but in my humble opinion, change to SVN will not bring any significant benefits to the project...

Monotone - only pull the latest revision of a repository

I have a remote monotone repos I want to pull from, but I really only need the latest revision (Nope, don't need the history. Yes I'm sure. And I really don't want to wait the hour-and-a-half required to get the full history). Is there a quick and easy way I can do that? ...

git how to undo changes of one file?

I have a git repository, After the last commit, I modified a bunch of file. but I want to undo the changes to one of these file, as in reset it to the same version of itself that's in the repository, but I want to undo the change to that file alone! nothing else with it. How do I do that? assuming it's possible of course .. ...

What are the good criteria for committing changes to repository?

Hello, I'm currently using git for managing several projects, however, one question has been bugging me recently: what is the good tone for committing modifications to the master branch and to secondary branches? Should it be 'commit when it compiles', 'commit when it works', or something else? Thanks. ...

In Subversion what are best practices to modifying historical files?

Lets say I have the files helloworld.c helloworld.m Fifteen edits ago someone leaked memroy in helloworld.c and that has managed to make it into several branches. I want to correct that version in history on all the branches it managed to get into. What is the net effect of reverting the file and attempting to check it back in? Obv...

Public code repository

Can anyone recommend a public code repository? A few friends and I are thinking of starting a few projects for iPhone, web, Android, etc., and it would be nice to have a public (internet) code repository to use that would work well on any platform (Mac, PC, Linux). Any type of repository is fine (SVN, CVS, Git, etc.). A few ideas are ...

Source Control for a .Net guy

See http://stackoverflow.com/questions/690766/vss-or-svn-for-a-net-project, among many other similar questions. There are a lot of options out there for ASP.Net Developers, some are total garbage and some are feature rich and pricey. I've been using Visual Source Safe 2005 for a while when doing personal development, but only o...

Disable Source tab in Google Code

How to disable source tab in Google Code? I don't want any random users to look at my code. Before you say that this can't be done, that Google Code is by default open source. Someone managed to do it, somehow. Edit: Before you downvote me further, take a look at the link I provided. It's possible to do it, despite whatever you want ...