version-control

How to "dump" a svn database?

Hello guys, I have VisualSVN installed on my personal laptop, and now that I'm leaving the company I would like to make a dump of all SVN repositories, alongside with history, comments,etc. I store many personal projects in this localserver and I want to keep the history of each project. Is it possible? EDIT: you all answered my ques...

how to handle db schema updates when using schemabinding and updating often

I'm using a MS SQL Server db and use plenty of views (for use with an O/R mapper). A little annoyance is that I'd like to use schema binding update with scripts (to deploy on servers and put in a source control system) but run into the issue that whenever I want to e.g. add a column to a table, I have to first drop all views that re...

What directories/files should be ignored when commiting eclipse workspaces to version control?

I'm an Eclipse newbie, and I have an Eclipse workspace with projects for a Google Web Toolkit App. What directories/files should I commit to version control (we're using Subversion)? I believe I don't need to commit .metadata directories, and it seems to me that I don't need to commit war directories, but I'm not positive. The committ...

python, svn, deploy applications with shared code

I have a few related applications that I want to deploy to different computers. They each share a large body of common code, and have some things unique to them. For example, I have a server and a client which use a lot of common classes to communicate to each other. I have yet more servers and clients which use some of the same classes,...

Upgrade Android Application outside Market

Hey, We have a set of 3-5 android applications that we have developed for an enterprise to integrate with our back-end. How do we create an installer system that upgrades applications automatically. We were thinking of getting version numbers and querying the backend to get current versions and downloading them. How do I get the versio...

Using different "paths" in Mercurial - also called branching

Is it possible to have different development "paths" from a given point in Mercurial, without having to clone my project? I currently have 2-3 different implementations options for a project and I'd like to try them out. If I could just use one and at any point come back and start in another "path" without losing data from the older one ...

XCode SVN lock - unlock

i am developing iphone projects on xcode. In SCM i am using svn but it is not possible to lock a file that on the svn to prevent other team member check out the file again (it copies the hole project to work offline). Is there any extension for xcode to solve that problem? ...

Visual source safe check in for terminated employee

I have a coworker who was no longer work the same office. He has checked out files in VSS. How do I check in the item which checked out by him? Thanks. ...

Switching User Contexts in Visual Studio and TFS Source Control

While developing ASP.net applications on a Windows 7 machine in Visual Studio. Sometimes I need to do testing for Internet Explorer 6 compatibility. The way I test IE 6 is I have virtual machine running on my local machine. The easiest way I could figure out to access development on my parent development machine was to switch my ASP.ne...

Can keyword substitution be used for getting the revision number of the entire codebase, rather than a particular file?

Hi, I want to know that can keyword substitution method be used to know the revision number of the entire repository, instead of getting revision number for a specific file only. How can we used Keyword substitution with PHP. ...

How to use pre commit hook in SVN to return revision number of the repository?

Hi , I need to know how to use pre commit hook of svn. I need SVN revision number to be used in php files. Please guide how does pre-commit hook work. ...

How to set up TFS 2010 in Visual Studio 2010 Premium/Ultimate?

This might sound like a silly question but is there a manual or a guide on how to set up Team Foundation Server 2010 in Visual Studio 2010 Premium or Ultimate? It comes built-in right? I've only got up to the Server list part. It's asking me to select a TFS server and port, but I don't think I have one. All I have installed is Visual St...

Policy for storing configuration files in SVN

The majority of our C# projects configuration is kept in *.ini files. Mainly these files hold many sections affecting all aspects of programs behaviour. But besides of regular configuration data some of sections are vulnerable like db connection string or server password. We try to keep this sections in following forms: [Database] user=...

Version control for reports (git)

I have a particular report that I am asked to run from time to time. The details are slightly different each time - different date ranges, different selection criteria - but structurally, the report is fairly stable. I do make some structural changes from time to time, however. I have two hopes for these reports: 1) to be able to rep...

Version control solution for a build system that produces a 4GB ISO

I have a software project that at the last stage of its build, after creating all the jar files and related scripts/configuration files, I need to plant it in a CentOS ISO that has a kickstart config file that runs some postinstall scripts and installs some customized RPMs. The project is on an SVN repository and being built from there....

Is CVS with Eclipse using the command line possible?

I've been using Eclipse to do CVS checkout from within the Eclipse interface. Is it possible to do it using the command line just like any normal CVS program? When I type CVS in my command prompt now, I get the usual cvs is not recognized as an internal or external command but CVSing should be possible since it's part of Eclipse. Do ...

Managing a Django application/project as it grows ( in terms of changes in models, increase in features )

Hi all, I need your advice on managing a Django application as it grows in terms of features and models. For instance as a application grows, we often need to add in new features. Adding new features involves adding new models, or adding a new field within a model. How would you go about doing that without closing the web application...

iPhone Testing on older SDK's

I wish to test that my iPhone app works on versions older than 3.2/4.0 and currently xcode only allows those two options, making it difficult to do so. Can someone pelase quickly link me to any tutorials, downloads, information I need to simply test the application in simulator on versions 3.1.3 and below. Also while you're here, do i ...

Hosted source code repositories

I primarily work on small, personal projects. One of my challenges has been source code repository maintenance. I have used the basic version of Team Foundation Server provided by my MSDN license and while it works great, it's not ideal (I'm not doing backups like I should, etc). I'd really rather pay to have it hosted. I like TFS, b...

How can I see the revision number of each file in a SVN working copy?

I work with another developer in the same working copy (I know that is a bad idea), we usually do updated of individual files, and now we have files in some revision and others in another. How can I see a list of files with their respectives revision numbers? (The working copy is in a linux box, and we're using svn command line. Thanks ...