version-control

Storing your private projects - where?

Hello, SO. You have probably already guessed what my question is, but anyway, here goes: It is quite natural for a coder to have a few private projects and, basically, non-job-related code lying around. Backups are, of course, great (yes, I am doing them). I would, however, love to have a more centralized solution for this - store it so...

How do you implement the "one step build" for a LAMP project?

Having the "one push build" to take your changes from development environment to live server is one thing that is very nice to have and often advocated. I came on board with a small team running in a LAMP stack and use SVN for version control, currently deployed on a single production server (another server for development and soon to...

Create a "label" in subversion indicating what files should be in the next release

I've been using StarTeam for version control for some time, but am moving to Subversion. I've been reading the Subversion book and there seems to one major feature that StarTeam has that Subversion doesn't - the concept of labels. I know Subversion has labels, but they mean something different in StarTeam. In StarTeam, I can label a s...

Which version control layout would be better? Project with tests

I'm just in the process of reorganizing the layout of my version control for open source project that I run, no one is using the project at the moment so I thought that I would get in and organize the layout a bit better so that it is a bit easier to maintain and use if people want to use it. I have been doing some reading about differ...

Moving folder in SVN, having a bit of trouble.

I have a project on codeplex and I'm trying to reorganise the tree structure so it makes a bit more sense and is easier to work with. This is my current layout: TopLevel |-->src |--->ProjectA //This is where all the files are held |-->Core //plus three more folders |-->MyProject.Core |--->trunk |-->src // I wan...

Popularity of Git/Mercurial/Bazaar vs. which to recommend

Going by the number of questions on this site for these three distributed version control systems, it seems like Git either is more popular, or is more difficult (hence requiring more questions), or has more features (hence requiring more questions). Or most probably a combination of the three. (Let's say that popularity on this s...

hg local ignore

I could have sworn there was a way to keep a local ignore file in an hg repo, i.e. a file similar in function to .hgignore, but not checked into the repo. This could be used to ignore changes to an IDE project file if different IDEs are being used, for example. I'm having trouble finding how it's done. Does anyone recall the details? ...

Why doesn't the branch tag in CVS move forward?

Our company recently began creating CVS branches to mark each release. Formerly we had been using tags, and if we fixed something during the testing period that needed to go out with the release, we simply moved the tag forward. This works well until two changes are made to the same file: one that should be released and the other that ...

How do you version control and manage multiple branches of a Database?

WARNING: LONG QUESTION. [QUESTION] If the strategy is to have a branch per database, as described in the problem below, where scripts are version controlled. How do you manage the data migration issues when trying to consolidate to fewer branches? Is it just a cost you incur as part of data migration? Essentially transform scripts wi...

Expected FS format '2' found format '3 git-svn

I was just checking out git-svn and thought I would give it a try with one of my existing repository. When I ran git-svn I got this error. Couldn't open a repository: Unable to open an ra_local session to URL: Unable to open repository '{MyFilePath}': Expected FS format '2'; found format '3' at C:/Program Files/Git/bin/git-svn line 13...

Is Git recommended for large (>250GB) content repositories

The web-application is a custom-built CMS which has several sub-applications and each one of them has code and content residing in the same directory structure. Due to the application framework's architecture the code and content are intertwined (content depends upon the code for its display and other functionalities) and hence are insep...

.NET C# how to make version more readable automatically ?

Hello there, I will start from example: I have an version of my app which looks like this 1.0.3450.26573 (it is hard to read and looks nasty). Code to take this version is: String Version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); I want to see version 1.0.12, 1.0.13, 1.0.14 where 1.0.[BUIL...

Merges on IntelliJ IDEA .IPR and .IWS files

We keep our IntelliJ .IPR and .IWS files in our source control, but they keep getting modified by IntelliJ just by opening them, even without any work being done on the project. What are we doing wrong? ...

Handling project references when using version control with multiple projects.

Say I have a repositry layout like the following: |Root |->CommonLib |->ProjectA.PartA |->trunk |->lib |->src //etc |->ProjectA.PartB |->trunk |->lib |->src //About four more projects. Now I split them up like this so that I can work on each diffe...

Visual Studio, Distributed Version Control, and Sourceforge

I'm trying to set up a new Windows computer with Visual Studio 2008 to work on a Sourceforge project I maintain. I'd like to use a distributed version control system (tried SVN, didn't like it). I've used git and mercurial before on UNIX, but I'm having no luck finding a quality plugin that integrates in Visual Studio 2008 and allows me...

How can I set up netbeans to push to a password protected mercurial repository?

I have decided to use Netbeans and Mercurial for my latest project (after no end of headaches with Visual Studio). My Mercurial repository is set up and I can do anything like with it, from the command line. Specifically, I can push and pull my code all day long by using an ssh:// login on the command line. However, when I use Netbeans ...

Why would you choose TFS over Trac + SVN + VisualSVN

For what reason would you choose Team Foundation Server over a combination of Trac + Subversion + VisualSVN in a small Team (<5 developers) as your source control, issue tracking and documentation platform? ...

Monitoring and bisecting changes of output of some commands ran on a source code repository

I'd like to know if there is some tool to monitor changes that a patch does to a project. I have a source code repository, and I'd like to do things like: see what a patch changes in (text) output of an arbitrary program, eg. compiler output, or testsuite output etc. when applied given a line in some of these outputs, I'd like to bise...

Copy part of SVN repo to new repo?

Currently, I have a large SVN repository with a bunch of different projects within it, as follows: / Project1/ trunk/ tags/ branches/ Project2/ trunk/ tags/ branches/ Project3/ (etc...) However, I'm now trying to break it up into separate repositories (for vario...

Is it easier to manage code with GIT or Bazaar?

I'm researching the GIT and Bazaar capabilities and wonder which one has more feature-rich code management? Here you can find the location for both source control engines: GIT Bazaar ...