version-control

Mercurial vs Subversion. Whose performance is better?

There are a lot of articles about SVN vs. Hg in general. I would like to concentrate only on performance. Real-live experiences preferred. Here is my set-up: (future setup) Windows with IIS fro Hg (current setup) SVN 1.3.2 on top of apache under windows I would like to have statistics for most commons operations (commits, stats, loc...

TFS for version maintainance

I am part of a team that releases versions of our software 4-5 times each year to our customers. We maintain the previous 2-3 versions of our product by correcting any errors that we come across in later versions. We are using TFS 2008 for source control and are trying to find the best way of maintaining the older versions. We currentl...

Is there a universal version control client?

Is there a version control client that would support more VCSs? I'm mainly interested in Subversion, git and Mercurial, but others like TFS would be nice too. Like a bare Eclipse with just the right plugins installed? Update: I'm looking for a GUI client although a command line one would be technically interesting too. ...

How to store static content across branches in a single location in version control

[Just a random thought] I have a pdf doc that is downloaded when the user clicks on 'help' on my website. Now, this is a pretty huge document and is saved in version control (SVN) and is thus copied for all branches that exist in SVN. This is static content and something that developers are not working on, and does not change often. Is ...

What is the best way to make versioned files available for download

I have a small PHP framework which I want to make available for download. It is located in a git repository. But the last version is not always the one that I want to make available for download. Is there some place I can make the versions available for download. Another thing about this framework is that I bring out additional componen...

Git workflow idea to push an unfinished local branch to remote for backup purposes

Say I'm currently working on a new feature which I've branched off of the 'dev' branch and I've been working for several days and it's not yet ready to be merged with 'dev' and pushed. Although I have made several commits and have been pulling changes to dev and then merging dev into my feature branch to keep myself updated. Here's my ...

How does git save space and is fast at the same time?

I just saw the first git tutorial at http://blip.tv/play/Aeu2CAI How does git store all the versions of all the files and still be more economical in space than subversion which saves only the latest version of the code? I know this can be done using compression but that would be at the cost of speed, but this also says that git is muc...

Git Reverting the Repository to Previous State

I have a .gitignore file in my project directory and I placed the following entry in the file to not to commit the files in the following folder: EStudyMongoDb.Integration.Test\ For some reason Git pushed the files to repository anyway! Anyway! now I want to remove those files that have been pushed to the repository but I don't wan...

I did my own web framework: now, how keep it sync with applications? must I use versions?

... and I did the first web application using it, now I'm going to create the second. In this first web application I enhanced the framework's core library with new things and promptly updated framework branch. I'm using bazaar to keep framework and web application committed. The application was in the beginning, a full branch of frame...

git can I speed up committing?

I have a big repository in a shared folder. I use git from within a VM on that folder. Everything works nice, but the repository is big and git's searching through all directories and files when committing is slow. I cannot move this repository out of the shared folder. I tried to git add specific files and directories, but when I do gi...

Best way to fix an out-of-sync TFS workspace after a back-up/restore

Wednesday I had to restore from a back-up image I made on Monday. At the time of the snapshot I had about 20 files modified, which I later checked in, and more, on Tuesday. Now that I am back to a snapshot from Monday morning, my workspace has all of these files checked-out or added, etc. even my check-in comments and work-item assoc...

What are the advantages of a rebase over a merge in git?

In this article, the author explains rebasing with this diagram: Rebase: If you have not yet published your branch, or have clearly communicated that others should not base their work on it, you have an alternative. You can rebase your branch, where instead of merging, your commit is replaced by another commit with a di...

How do you pronounce Git?

With regards to the version control system, is it pronounced like 'give' or 'jit'? ...

Fossil gpg workflow for teams

I'm learning fossil and trying to reproduce a workflow for two people modifying the same source code tree. So, Alice and Bob both have local repositories of some source code. Both have autosync off. Alice hacks some more, does some commits signing check-ins with her gpg key. This part is fine, as Alice I've managed to generate gpg keys,...

Subversion: Write protection for tagged directories

Hi, i am using subversion as RCS. Always when a new version of my project is finised i create a tag of it (copy of the trunk). Does anybody know how i can protect this tagged directory from being accidentally modified? At the moment as a workaround i lock all files. But this sill means that the user with the lock can edit the files. I...

Should we have separate database instance for each developer?

What is the best way for developing a database based application? We can have two approaches. One common database for all the developers. List item Separate database for all the developers. What are the pros and cons of each? And which one is better way? Edit: More then one developer is supposed to update the database and we alrea...

Differences between git pull origin master & git pull origin/master

What is the difference between git pull origin master and git pull origin/master ? ...

Is there an equivalent to Visual SourceSafe's Shadow Directories in any of the ''current' VCS?

At work, I have been asked to save the current versions of all files in all repositories on our SVN server onto a network drive. This is on top of backing up the repositories themselves. Visual SourceSafe did this automatically via shadow folders. Is there a way to accomplish this using SVN? Is there an equivalent to shadow folders in ...

How do I use Mercurial?

I'm assuming Mercurial is for having an updated website and it archiving the old stuff? Easy to test things and such? My question is, how exactly should I get started and can somebody give me a crash course in using Mercurial and using the following techs below: Notepad++ for coding FTP PHP/MySQL Jquery & other js libraries I use win...

Graph - strongly connected components

Hello! Is there any fast way to determine the size of the largest strongly connected component in a graph? I mean, like, the obvious approach would mean determining every SCC (could be done using two DFS calls, I suppose) and then looping through them and taking the maximum. I'm pretty sure there has to be some better approach if I on...