version-control

SQL Server database creation scripts in Visual Studio

As part of a ASP.NET MVC project I'm working on, I'll be working with SQL Server 2008 Express. I'm not sure how I should go about having a version-controllable (I'm using Mercurial) way of recreating the database. Ideally it should be run every time I perform a build in Visual Studio 2008. EDIT 1: In response to couple of the answers,...

Finding baselines associated with a CR in the Telelogic Synergy command line

How would one find baselines associated with a CR in Telelogic Synergy using the CLI interface? I have tried ccm query "cvtype='baseline' and cr('xxx')", but this doesn't produce any results. From the GUI you can look at the properties of a baseline and see which CRs are associated with the baseline, but I can't seem to find the proper ...

SVN Error: Can't convert string from native encoding to 'UTF-8'

I've got a post-commit hook script that performs a SVN update of a working copy when commits are made to the repository. When users commit to the repository from their Windows machines using TortoiseSVN they get the following error: post-commit hook failed (exit code 1) with output: svn: Error converting entry in directory '/home/websi...

Would Mercurial help me work from 2 PCs?

I currently use Perforce for source control, but want to start working on the code from 2 different PCs at the same time (desktop and laptop). The laptop would not be able to access the perforce server very often, which makes Perforce a poor choice in this setup. Distributed source control tools like Mercurial seem better suited to the ...

What is the meaning of an asterisk appended to a TFS changeset number

I am looking at candidate changesets for a merge and I get some output I don't understand: tf merge /candidate /recursive $/Acme/Branches/Release/3.5 $/Acme/Trunk Changeset Author Date --------- -------------------------------- ---------- 47829* nate:14 4/16/2009 What does the * at...

What is the significance of a source folder/directory with a .tproj suffix ?

What is the significance of a source folder/directory with a .tproj suffix ? ...

Segmenting code into multiple source files

Hi, I've often read about the desirability of splitting large (monolithic?) blocks of app code up into separate source code files to make it easier to maintain etc., but I haven't yet seen anything explaining exactly how to do this. The process of creating separate files is straightforward enough when adding a subclass of course -- and...

version control & code hosting - im lost

i'm working on a small project that might have an additional coder at some point - i've become to used to svn (which i started using very recently, through sourceforge) and want to use it for this project, without having to publish the code on the internet -- which would happen if i were to add it a sourceforge project. I have some host...

Do editors allowing you to view source code in different indent style exist?

This is not a subjective nor an argumentative question but a question that needs a yes/no answer and, if the answer is positive, the name(s) of said editor(s). Imagine the company guideline mandates committed code to use the K&R style and that I prefer Allman (for example). Are there editors (either standalone or part of an IDE) that al...

What Is The Proper Location For One-Offs In VCS Repos?

I have recently started using Mercurial as our VCS. Over the years, I have used RCS, CVS, and - for the last 5 years - SVN. Back 13 years ago, when I primarily used CVS and RCS, large projects went into CVS and one-offs were edited in place on the specific server and stored in RCS. This worked well as the one-offs were usually specific ...

Any tips for installing CVS Server and Tortoise Client on Windows 7?

I'm installing CVS and the Tortoise client on Win 7. Getting a warning "CVSNT Locking Service... failed to start. Verify you have sufficient privileges to start services" I'm running as Admin with UAC off. ...

Which open source Source Controls products integrate with Microsoft VB6?

I'm looking to possibly move away from CVS (to maybe SVN). Anyone know which open source version control systems integrate with the VB6 IDE (automatic checkouts, etc.) ? ...

Developing in trunk vs feature branches

Hi, What are the pro's and con's to developing in: the trunk - taking branches only for given releases feature branches - merging branches back into trunk for a given release In what situations are these useful and what type of projects do they suit? Many thanks. ...

svn server synchronise automatically

I have a svn server on our lan locally its on windows. The developers use and check in/out from that. Just to be on the safer side we have took up a server from rackspace a linux one. Is it possible to do an automatic weekly synchronise from the local svn server to the remote one. The remote one will be mainly used as a remote backup but...

Best free Git web interface

Hello everyone! I'm looking for a free opensource Git Web UI tool like GitWeb on my own remote machine. What do you prefer? ...

How to get version of python dependencies/modules, including external applications called via subprocess.Popen?

I have a set of python scripts that I run frequently on different machines that depend on a few external libraries as well as some other applications spawned via subprocess.Popen. As expected depending on the version of the installed modules and applications the output varies. To address this I would like to keep track of which versions...

How to control version number in Perforce?

I want to have auto-generated version number in format of 'x.x.x' or something similar to 'git tag' in Perforce. Any ideas? ...

Version control system for a small laboratory?

I'm a grad student in Electrical Engineering, and my lab has various projects related to ultrasonics. We have lots of code to perform simulations, but right now our situation is such that any given script has ~5 different versions. In addition, one person might develop code to simulate wave propagation, while another needs that code to p...

TortoiseSVN: Move file does not preserve history

I am attempting to move a file to another folder inside a TortoiseSVN repository, and the revision history is not being preserved. I have tried moving the files using the Repo-browser (right-click drag the files and select "Move items to here") as well in the working folder (right-click drag, select "SVN Move versioned files here," and ...

windows revision control software?

Possible Duplicates: Commercial version control Best Version Control System for IIS? Ok, I am looking for a good revision control system for windows that I can use locally while developing some web apps. Is there any particular standard application that everyone uses or is it pretty varied? ...