version-control

TFS 2010 change history on individual code sections.

Some time ago I recall seeing an early release video demonstration of a tool that allowed one to (from within Visual Studio) inspect the history of a section of code. For example, right click on a method and choose 'view history', and see when that method has changed. Can anyone recall what product this may have been? ...

Git, pull in part of another repository

Say there are two repositories X and Y with a file structure like below. X-+ |- /A |- /B |- /C Y-+ |- /E |- /F |- /G I know it's possible to pull X into Y and git will merge the files. Is it possible to pull directory B into directory F of repository Y? I'm guessing it isn't because git doesn't track directories. Is it ...

How to load elements of clearcase view to local file system

I'm looking out for cleartool command which retrieves all the elments(files) of the given path (myvob\projects\projectname) and stores them in the local file system. This makes me avoid creating the view again with the same config spec just to see the contents of the view and not to perform any modifications. ...

Making a subset of a repository publicly available, whilst keeping history

I've got some code under version control (using mercurial), and would like to share some of it, whilst hiding other parts which I cannot release into the public domain (at least at this stage). I'd ideally like to keep the revision history of the public code intact, and, more importantly, be able push/pull changes between the public re...

What's the best way to deal with sensitve data while using a source control?

Hello, Recently I started using codeplex.com for hosting a project I'm doing which I want to share with people. I'm new to using Source Control and Open Source treatment. My application deals with Twitter, and of course I have to use Twitter API keys. I'm using Visual Studio 2010 and TortoiseHg for the source control. So my question ...

Best Mac OSX and Windows Git Clients, servers and diff tools?

Hello, I am currently looking for git clients for Mac OSX, I have tried the following: GitX (Didn't like it.. doesn't seem functional enough) Git Gui / GitK.. (Butt Ugly! i mean yuuuuuck! and not user friendly) Source Tree (By far the best but still lacking somewhat) Is there a functionally equivalent nice looking "versions" or "cor...

Reshard existing large SVN repository

Hello, we have a a pretty large SVN repository (50 GB, Over 100000 revisions). Working with it is pretty slow and my guess is that the reason for this is the flat directory structure in db/revs and db/revprops (Where each revision is one file). We use the FSFS format with SVN 1.5 (On a linux server) but the repo was created with an old...

Generate a log from all commits I've done in a day (or in an specific date) using CVS (log or history)?

I have to use CVS in my work and at the end of the day, I need to generate a report in an internal enterprise system. I write meaningful comments in all my work. I would like to do a cvs log or cvs history, with only the comments from each file I have commited to the repository (a solution using only command line, so I could automate ot...

How can I tell P4SCC to ignore files?

I started on a new project a few months ago and am forced to use perforce (pun intended). I have experience with a variety of distributed and monolithic VCS, especially SVN with Ankh as SC plugin in visual studio...that said, I have been evading some..quirks perforce has by applying various workarounds you can find, mainly here on SO. Th...

Set Subversion root directory for access via svn+ssh

I'm having trouble setting Subversion's root folder for repositories. The path has gotten pretty long and I'd like to shorten it to "/". We currently access Subversion from clients via: svn+ssh://server.domain.com/Library/Subversion/Repositories/project/trunk and would like to shorten URL to: svn+ssh://server.domain.com/project/trun...

How do I export an entire FreeVCS repository?

I just inherited an old FreeVCS repository at work and would like to migrate all the files to our Subversion repos. How can I export the entire repository? I'm using the 2.2.1.0 standalone GUI client and also the Delphi 5 integrated client. Is it just me or does FreeVCS actually "understand" Delphi packages? ...

git remote prune – what am I doing wrong?

From the man page: Deletes all stale tracking branches under <name>. These stale branches have already been removed from the remote repository referenced by <name>, but are still locally available in "remotes/<name>". So I removed a bunch of branches using git push origin :staleStuff and then ran git remote prune origin Howeve...

Is using “feature branches” compatible with refactoring?

“feature branches” is when each feature is developed in its own branch and only merged into the main line when it has been tested and is ready to ship. This allows the product owner to choose the features that go into a given shipment and to “park” feature that are part written if more important work comes in (e.g. a customer phones up...

What arguments exist against keyword substitution as a feature in version control systems?

Are there any arguments out there against keyword substitution (i.e. replacing $Revision$ with $Revision: 5$) as a feature in version control systems? I'm not looking for a debate. I'm looking for well thought-out arguments by people who think the feature is a bad idea. Here is one such argument: Keyword Substition: Why You Don't Ne...

How to combine version control with data analysis

I do a lot of solo data analysis, using a combination of tools such as R, Python, PostgreSQL, and whatever I need to get the job done. I use version control software (currently Subversion, though I'm playing around with git on the side) to manage all of my scripts, but the data is perpetually a challenge. My scripts tend to run for a lon...

Code repository hosts that support both svn and git?

Can anyone recommend hosts other than github ( 100% git ), codesion and beanstalk which support both svn and git? ...

Version controlled South migrations in virtualenv

I have a Django site placed in folder site/. It's under version control. I use South for schema and data migrations for my applications. Site-specific applications are under folder site/ so they are all version-controlled along with their migrations. I manage a virtualenv to keep third party components dry and safe. I install package...

Testing functionality without providing access to the whole code?

Suppose i outsource my existing php project for adding more functionality to it. I don't want to provide the whole code to the outsourced developer to protect my ip and idea. So say, using svn i create a branch for the project. And then put the code files that will need to be modified to add new functionality in that branch. Then how...

Is there a practical limit on number of tags in SVN?

Here's a similar question for SourceSafe. We have a single SVN repository storing sources of numerous projects. Among those projects something like 25 are built every day each by a dedicated daily build. Once daily build starts it tags the sources with its own name (something like "Build of Project N version X.Y.Z", Z increases with ever...

The Dual Nature of svn:ignore

Reading around, the svn:ignore command seems to work one of two ways: If the file or directory is not already under version control, meta data will be added to the repository ignoring the file or directory for all other team members who check out the project. If the file or directory is already under version control, the ignore will on...