version-control

Git Workflow Best practices

Hello All, Stupid question and treat me as completely a newbie to version control. I'm new to Git (I've used subversion before, but just the basics) I understand the basics of Git and its branching commands, I have an imaginary situation that need your advice. Suppose my software currently is at v1.2, stable and released. My Softw...

How to version control config files pragmatically?

Suppose we have a config file with sensitive passwords. I'd like to version control the whole project, including the config file as well, but I don't want to share my passwords. That could be good, if this config file: password=secret foo=bar becomes password=* foo=bar and the other users of the vcs could also set up the password o...

TFS and Subversion

I have the following goals: Shared source control with continuous integration The ability to check in incremental changes that may or may not build (i.e., breaking changes) without affecting other team members The ability, without days of work, to get a report of the incremental changes checked in (not a report of the FACT that a chec...

Moving a single feature to production!

I am working on an API that is triggered using a custom Job scheduler. The API is in the form of .NET dll. Currently it contains 10-15 methods. Most of the methods are currently in testing phase. The client wants to push out a single method to the production. Yes, I mean if there are 10 methods in a DLL the client wants to push a single ...

Can Hudson check out from multiple SCMs ?

Due to some politics at work we have our project in two different SCMs, SVN and Dimensions. I was wondering if anyone knew of a plugin available that would change Hudson's radio buttons into checkboxes to allow me to configure multiple SCM repositories in the project's config on hudson? ...

Manage a Re-write with Git

I have a project, the source of which I'm managing with Git. It's a big project--relative to my experience--and I feel like I will completely re-write at some point after its completion. Though this is a problem I won't encounter for a long time, I'm curious: how would I manage a complete re-write with Git? Would it be best to make a ...

I need to create a repository using checkout code

I had checkedout my project code in system. Now i don't have permission to commit code to my repository.. so what i want to do is, i want create a repository using my code. How we can do this. Please help me ...

Team Foundation Server and branching characteristics, compared to others

What are the branching characteristics of TFS? I am asking the question because I don't have experience of the tool. Let me discuss what context I am putting it in... Early Branching/Heavy Branching If we look at the tools Perforce, Subversion, CVS, for instance, we see that branching is effectively taking a copy of the trunk. i.e...

Text document storage with timestamp retrieval of versions

Does anyone know of any SCM(s) (e.g. svn, git, etc) that would allow me to quickly access data as it was at a given actual time without deliberately tagging it or parsing big logs to work out what version was active at the time? i.e. Store values for file=X of A (at 9am),B (at 10am),C (at 11am),D (at 2pm). I want to be able to quickly ...

How do people manage changes to common library files stored across mutiple (Mercurial) repositories?

This is perhaps not a question unique to Mercurial, but that's the SCM that I've been using most lately. I work on multiple projects and tend to copy source code for libraries or utilities from a previous project to get a leg up on starting a new project. The problem comes in when I want to merge all the changes I made in my latest pro...

I'm working on a project, and I want to see how it ran in its last revision. How do I do it without losing my changes?

Specifically, I'm using bzr, but tips for any VCS are welcome. ...

Subversion: Ignore a Directory in the Repo on Commit

I have all the boost header files in this repository and when I do a check in it takes a really long time to scan all those files that will never change. Because I want users that checkout the project to be able to compile without installing boost I am in a pickle. I want to checkout everything, and then ignore updates (there will neve...

Git to TFS Source Control Migration

Hello. I'd like to see how TFS will work for my command. So I'd like to move our current GIT repository to TFS database. We've used GIT for it's prevailed branching support so I'd like to use TFS 2010 to address that issue. Now question is. How do I export our GIT repo to TFS. Obviously it's some kind of script. Does have anyone done th...

How to export a project in Visual Studio Team System

How can I export an entire Visual Studio project? I want to get a non-source-controlled copy on my local hard drive. I come from a SVN background and I'm just getting into TFS... In Tortoise SVN, I would use the export all command for this -- I would right-click the project directory and drag it to another directory and choose "Export a...

In bazaar, how do I change the default target of "bzr push"?

bzr push defaults to the first target you pushed to. If I now want to push to a different location, but don't want to manually enter it every time, how do I change the default? ...

What exactly is considered "breaking the build?"

In a CI environment, what exactly is considered a broken build? There are several answers I can imagine (any combination of compiles, tests pass, metrics are in range, documentation exists etc.) , but I am not sure which of these are cannoncial. For example, just today it happened to me that I actually checked in all code changes but f...

Version Control: Managing Common Component Source

How do you manage common library source in a DVCS? Currently, my team uses Perforce to manage our software projects. Using Perforce's "Workspace Mapping" feature, I am able to easily map common library source into dev application directories in a way that keeps the transformation between source management and dev project work transpare...

SVN Commit query

Is it correct to use Tortoise SVN Commit for a project that is building successfully, but has compile time errors? ...

Version control best practices

I just made the move to version control the other day, and after a bad experience with Subversion, I switched to Mercurial, and so far am happy with it. Although I understand and appreciate the idea of version control, I don't really have any practical experience with it. Right now, I am using it for a couple websites I am working on, ...

what is Visual SourceSafe Explore?

hi, i have a dbout. May i know what is visual sourcesafe explorer and what it will do? ...