version-control

Commit changes to a different branch than the currently checked out branch with subversion

I've been working on code checked out from the development line and discovered that the changes made might be breaking changes and need to be moved to an experimental branch before committing to the main dev tree. However, I don't have the experimental branch checked out and I don't want to loose the changes that have already been made. ...

How to use Eclipse and versioning for a matrix of projects

Our company develop several software products, which reuse each others packages (we use Java). Every product represented as separate Eclipse Java project and has it's own versioning repository (we use Mercurial). When we find a bug in some shared package, we need to transfer changes to all consuming projects, and this is a hell. The key...

Project hosting vs. my own SVN

I'm working on different projects with some small teams (2-3 people for each). Those projects are about some scientific stuff, most (probably all) the code will be released under GPL after the publication of some results and we don't want to spend money for this. My first question is: should i keep my local SVN server or you know some ...

how to omit a folder from mercurial versioning in netbeans?

i'm using netbeans with the built-in mercurial support and want to omit a sub-folder from versioning. how do i do that? thanks! ...

Best source control system for maintaining different versions

Hi all! We need to be able to simultanously maintain a set of different versions of our system. I assume this is best done using branching. We currently use TFS2008 for source control, work items and automatic builds. What is the best version control solution for this task? Our organization is in the process of merging to TFS2010. Wil...

maven-release-plugin: Perform fails with 'working directory "...workspace\target\checkout\workspace" does not exist!'

Hi, I have maven project that fails when release:perform is called, though release;prepare works as expected. I have found the bug report (below) which certainly seems to resemble the issue I have but not entirely sure I understand the problem: MRELEASE516 The last few lines of output I get: [INFO] Executing: cmd.exe /X /C "p4 -d E:\...

Is this a situation where I should "hg push -f"?

I have two machines, A and B that both access an external hg repository. I did some development on A, wasn't ready to push changesets to the external, and needed to switch machines, so I pushed the changesets to B using hg serve. Changesets continued on B, were committed and then pushed to external repo. I then pulled on A and updated...

What is the use of commit messages?

Hi folks, I struggled asking that question but here it is. I am using source control since several years for multiple projects using different systems (svn, hg, git) and I learned how to improve my messages by following guidelines etc. But as far as I can remember I never ever had a look at them afterwards. So ... how do you profit fro...

Step-by-step guide of Mercurial for iPhone projects?

I am looking for a step-by-step Mercurial guide for iPhone projects. Please assume: hg already installed the audience is comfortable with command line operations everything is on OS X As a newbie, I am particular interested in: what files should be excluded how to exclude above files guideline/suggestion of naming builds any rel...

Show Visual Studio's Source Control Merge Wizard programmatically

Hi, I'm developing a Work item Custom Control and I need to use the standard VS's Merge Wizard for items in source control from my code to allow to user choose the target branch, resolve conflicts etc. I'm pretty sure it's possible in some way (even through the reflection), but I just can't find the proper class in any of VS client assem...

Web Site Projects, Project References, and Version Control

I have an ASP.NET Web Site project that used to have it's logic in the App_Code folder. I pulled some of the code into a Class Library project (to allow unit testing) and added a Project Reference. It compiles and runs fine. The problem is that the only way the Web Site project represents the project reference (to my knowledge) is throu...

Should old/legacy/unused code be deleted from source control repository?

I've encountered this in multiple projects. As the code base evolves, some libraries, applications, and components get abandoned and/or deprecated. Most people prefer to keep them in. The usual argument is that the code does not really take any space, it can be left alone until needed again. So a repository slowly turns into a cesspool...

Maintaining .dsw and .dsp files in Source control

Is it advisable to maintain .dsw or .dsp files under source control with periodic check ins and check outs depending on the projects. ...

Version control of Mathematica notebooks

Mathematica notebooks are, of course, plaintext files -- it seems reasonable to expect that they should play nice with a version-control system (git in my case, although I doubt the specific system matters). But the fact is that any .nb file is full of cache information, timestamps, and other assorted metadata. Scads of it. Which mean...

TortoiseSVN for Mac PC?

Hello everyone, I am using a MacBook Pro running Mac OS X 10.5. I am new to this development environment, and previously worked on Windows. I find there is no TortoiseSVN for Mac PC, and I am wondering any alternative (better free and easy to use GUI tools) tools for Mac? thanks in advance, George ...

.classpath and .project - check into version control or not?

I'm running an open source java project that consists of multiple modules in a tree of dependencies. All those modules are subdirectories in a subversion repository. For newcomers to our project, it's a lot of work to set all that up manually in eclipse. Not all our developers use eclipse. Nevertheless, we're considering to just check ...

ASP.NET How do you set the version number on a web app?

..like you can on other project types? ...

What is the tortoisehg gui equivalent of doing "hg push -r"

I don't see the options to accomplish this. I want to only push changesets related to my default branch, not any other local branches I have. I thought I could do this by using the Repository Explorer like so: On the toolbar below the repository address, the first combo box allows me to select a branch. I set this to default. However o...

What am I doing wrong with SVN merging?

When SVN with merge tracking works, it's really nice, I love it. But it keeps getting twisted up. We are using TortoiseSVN. We continuously get the following message: Error: Reintegrate can only be used if revisions 1234 through 2345 were previously merged from /Trunk to the reintegrate source, but this is not the case For ref...

(g)Vim with version control like Eclipse

I was an Eclipse user, now I have to use Vim in my machine. I used to "compare" a file I edited with a CVS repository to do merges an commit the files, using a context menu and my mouse. Is this possible in Vim? Opening a vimdiff for a file before commiting, and commit it from vim itself? And how is that supposed to work? I'm supposi...