version-control

Source control with SharePoint?

Have you tried to use SharePoint with version control such as Perforce (or Subversion), how did you do it? ...

Is AnkhSVN a good alternative to Visual SourceSafe?

We've had it with Microsoft Visual SourceSafe 6.0d and want to move to SubVersion. Our IDE is Visual Studio 2005, but we plan to ugprade to 2008 soon. We are considering to install VisualSVN server, and then use the AnkhSVN add-in for Visual Studio. VisualSVN server has a good reputation with the community, so I have plenty of faith i...

What is the difference between hg forget and hg remove?

I want mercurial to remove several files from the current state of the repository. However, I want the files to exist in prior history. How do forget and remove differ, and can they do what I want? ...

Getting an infinite "undo stack" without committing to the repository?

Like many programmers, I'm prone to periodic fits of "inspiration" wherein I will suddenly See The Light and perform major surgery on my code. Typically, this works out well, but there are times when I discover later that — due to lack of sleep/caffeine or simply an imperfect understanding of the problem — I've done something very fooli...

SVN vs VSS vs CVS Comparing HELP

We are currently determining if we would move CVS and VSS projects to a single SVN server. I've been using SVN for a long time now but is forced to use CVS and VSS for work stuff. Would you please help me give reasons why moving to SVN would be better than buying a VSS 2005? And also what the benefits of moving from CVS to SVN would be...

How to remove a revision from a bazaar repository?

Is it possible to completely remove a revision from a bazaar repository? I'm asking this because someone just committed a full database dump. ...

What is the worst source control you have used?

There are many discussions about what people's favourite source control is (subversion, mercurial ...). But what source control systems have you used that you certainly wouldn't recommend? And more beneficial, how would you go about promoting change in the business to a new source control system? A few years ago I developed using a sour...

Suggestions for setting up a subversion repository

Our team is just ramping up to use source control through SVN. We are currently using some test repositories for getting used to the process. We're nearly ready to put this into full time use. We build only small to medum/large web apps, most of which share the same core (but differnt on LAMP/Win), but are customized in some way. We w...

ClearCase and Eclipse: How to hide/ignore files?

I'm working with Eclipse and ClearCase and we're facing the problem that there's no "ignore"-feature in ClearCase and we're having regularly checked-in files that shouldn't have been checked in. In Eclipse, I already found the "Ignored Resources" configuration in Window -> Preferences -> Team and have been able to ignore files that fol...

put build date in about box

I have a C# WinForms app with an About box. I am putting the version number in the about box using: FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location) .FileVersion This ends up giving me the Subversion revision number from which the executable was built. I would also like to get the date of the build into th...

How can I view the version tree for a file in SVN which shows the merges from branches back to trunk?

Hi, I'm new to SVN but have used Clearcase for years. My issue is I have some changes on a branch which I have merged back to trunk using TortoiseSVN "Reintegrate a branch" feature. Now when I look at the version tree I don't see any edge being rendered from the tip of the branch to the tip of the trunk, which I would expect to see. I...

Perforce - only for experts?

I use P4V client. I just want to do basic tasks; I don't want to use the command line and become an expert at Perforce. The simple task I'm trying to accomplish is to copy the description and file list of a submitted changelist. Is there any way to do this basic task? ...

Making Commits to a Local copy of an SVN repository

I've checked out a copy of a project hosted on google code. I'm going to be making changes to it, and I'd like to keep these under version control on a repository on my local machine. I'd like to use svn if possible, because I already know the very basics of creating a repository, checking out and committing. Can I do this with svn or ...

What's a good version control for a Mac environment?

I'm a Windows developer looking to do some Cocoa dev on a Mac. I'm familiar with Subversion, TFS, Sourcegear Vault, CVS and VSS in a Windows environment. What version control should I look at using in my new, unfamiliar Mac environment? I will be doing 95% of the development, with the other 5% coming from one or two other people. How...

Recovering added file after doing git reset --hard HEAD^

I added a new file F1 and made changes to another file F2 but then did a "git reset --hard HEAD^" and I have lost all the changes to the files. Is there SOME way, I can get them back. Please help. Thanks in advance. ps: I did look at a related question here: http://stackoverflow.com/questions/5473/undoing-a-git-reset-hard-head1 but,...

git selective revert local changes from a file

In my git repo which is tracking a svn repo I have made a number of edits to a single file. Now I want to revert those changes(like svn revert), but only portions of the file. I want to be able to view the diffs on the file, discard(revert) the changes that I don't want and retain the changes I want. the git add -i command seems t...

How to upload project with mercurial on googlecode?

I have create a local directory, and made some sub-directories and file in it. registered by project on code.google.com/hosting install Mercurial and did > hg init copied the auto-generated password from google, still dont know for what. Now how do i upload files my local to the repository on google. Tired googling a lot, almost all ...

TFS Check-in Policy for testing without vsmdi

In our msbuild script we can run unit tests without using the vsmdi file: We would like to enforce tests to be run on check in. The "Testing policy" seems to require a .vsmdi file. Is there a way to do this without one? ...

Adding a Visual Studio reference to a product under source control

As an example, I'm trying to add a reference to WatiN in Visual Studio 2008. I download WatiN and I have a folder on my desktop containing 5 files: WatiN.Core.dll WatiN.Core.xml Interop.SHDocVw.dll Microsoft.mshtml.dll WatiN.Core.UnitTests.dll WatiN.Core.UnitTests.dll.config I can add my reference to WatiN.Core.dll and start coding ...

Recommend portable source control setup?

Since I have a couple of mid-sized personal projects and a lots of code snippets, sample programs, libraries which usage is demonstrated using unit tests, I want to have this whole lump of code available all the time - at home, at work, when using my laptop, etc. The most logical step is to have this codebase under the source control, s...