version-control

How to acquire specific revision of a newly added file from CVS via command line?

One of our internally written tool is fed a cvs commit trace of the form: Checking in src/com/package/AFile.java; /home/cvs/src/com/package/AFile.java,v <-- Afile.java new revision: 1.1.2.56; previous revision: 1.1.2.55 done The tool then acquires the file from cvs by issuing a "cvs update -r 1.1.2.56" command in a working ...

Database development organisation

A question regarding a DB development project. The database already exist and is rather large (several TBs). What do you use for version control in DB development? How do you control concurrent changes to the data model by different teams What is your approach to the Unit Testing in the DB development How do you deal with the sensitive...

How do I determine what files in my ClearCase local view have not yet been added to source control?

If I have added/removed/modified a large number of files in my local ClearCase view, how can I be certain that all the files have been added to source control? ...

Can CVS and Subversion be set to ignore whitespace in merging?

CVS and Subversion both have a handy merge feature so that when you update a source file that you have modified, it merges in changes that others have made on the same file. However, if your changes and the other ones are incompatible - generally if you have both changed the same parts of the code - it will create a conflict. Both stret...

Database and version control system.

Hi, I'm work on project with django framework and use control version system to synchronize my code with other peoples. But i don't know how organize work with database. In django, any people, worked on project, may changes django models, and tell 'syncdb' to synchronize model objects with db. But other people don't about this changes, ...

Which Subversion web interfaces have a blame feature?

I'm looking for a subversion web client ala SVN::Web but with a very specific feature I've always thought would be quite useful. What I want is the ability to find which revision was responsible for a certain line (or lines) in a text file. A way to do this via the web would be fantastic. Anybody know of such a tool? ...

Beanstalk like Functionality

I'm finally getting my team to embrace source code management now that we're working on projects where more than one dev is touching the same codebase, and I setup a free/trial account on Beanstalk for hosted Subversion so people could get a taste of how it works. That said, we've discussed a somewhat ambitious plan to put a lot of need...

Extracting Source Code from an MS Access DB

Hi, I have an Access DB that I would like to extract the source code from so I can put it into Source control. I have tried to extract the data using the Primary Interop Assemblies(PIA), but I am getting issues as it is not picking up all of the modules and forms. There are 140 Forms and Modules in the code(Don't ask, it's a legacy ...

What Pros & Cons would there be to saving code more granularly at the file level?

What do you think of this kind of code-to-files-mapping? ~/proj/MyClass.ext ~/proj/MyClass:constructors.ext ~/proj/MyClass:properties.ext ~/proj/MyClass:method-one.ext ~/proj/MyClass:method-two:int.ext ~/proj/MyClass:method-two:string.ext In a language which is more functional-oriented: ~/proj/definitions.ext ~/proj/functio...

How do I set a source control plug in default for Visual Studio 2008?

We recently installed Team Foundation Server 2008 and we are using it for both Visual Studio 2008 code and Visual FoxPro 9 code that we are still migrating to .Net. I had to install the TFS MSSCCI provider to get connectivity from the VFP9 IDE. That works fine, but Visual Studio now seems to get confused about which source control plug i...

Code review for VS

looking for a good code review tool that plugs in nicely to Visual Studio. Would be nice if it could diff from different source control providers, like Source Safe, The Vault, and/or Subversion. ...

How can I create a windows resource to embed in a .NET assembly, starting from text?

I was looking into embedding custom version strings using in assemblies a while back, and one approach that the documentation suggested was to embed a windows resource. The only way I can see to create a windows resource is to use the 'Native Resource Template', but the template is a binary file that isn't suitable for using with subwcr...

How do you handle the tension between refactoring and the need for merging?

Hi, Our policy when delivering a new version is to create a branch in our VCS and handle it to our QA team. When the latter gives the green light, we tag and release our product. The branch is kept to receive (only) bug fixes so that we can create technical releases. Those bug fixes are subsequently merged on the trunk. During this t...

Quality Indicators TFS 2008 report and multiple build types

In a project we have two build types, one for continuous integration and one that runs our test suite. When the Quality Indicators report is run, it displays data from all builds regardless of build type. The report suggests that one can only run it on a specific build type but the query that populates the builds field only seems to wo...

Merge code changes without true source control

We have a few developers working on the same VS2005 solution, but our source control is very bad. (Our company uses Harvest, which we give a vote of no confidence). Right now, we're all just working off of the files on a shared lan drive. Obviously, this causes some problems. But we think it's better than working locally, and tracking...

What is your version control and deployment workflow with Rails?

Especially when considering a fresh Rails project, what does your version control and deployment workflow look like? What tools do you use? I'm interested in answers for Mac, *nix and Windows work machines. Assume a *nix server. I'll edit for clarity if need be. ...

Problem checking out (from VSS) and building maven project in Hudson

Hello, I am new to Hudson, perhaps someone knows the solution: I am trying to checkout the parent pom from the VSS in Hudson (vss plugin installed) and now I get class cast exception: FATAL: hudson.maven.MavenModuleSetBuild cannot be cast to hudson.model.Build java.lang.ClassCastException: hudson.maven.MavenModuleSetBuild cannot be ca...

Version control "in the clouds"

I'm a developer who works on both individual and group projects using Microsoft Visual Studio. I could setup one of several different source control packages, such as VSS, SourceGear Vault or SVN on a server of my own and access them remotely; however, I don't want to deal with the hassle of setting it up, configuring it, etc. Does any...

Is there a way to replace the diff utility, with another, non-Tcl/Tk diff utility?

I'm using TkCVS as the GUI front-end for a CYGWIN CVS client, on a Windows XP machine. It's a good compromise, since on my Linux machine I'm also running TkCVS (the same machine running the CVS server, BTW...). I'm interested in replacing the diff utility (which has a tkdiff.tcl GUI front-end, for TkCVS) with a commercial product (like ...

How to compare two source trees for differences/changes on win32?

There are two directories with source trees. What is the best software to reveal changes in them. The should be not only file names but also some file-comparison viewer. It could be better if it is free tool. Thanks ...