version-control

Multiple simultaneous version control systems?

I'm relatively new to version control, and so far only have experience working with Subversion using TortoiseSVN/VisualSVN. I've been reading about other types of VCS (git, mercurial, etc), and am considering trying them out - however, many of the arguments for or against a particular VCS seem like they largely come down to subjective pr...

Versioned Serialization in Java

I have a simple Java class that I need to serialize to be stored as a value in an RDBMS or a key-value store. The class is just a collection of properties of simple types (native types or Maps/Lists of native types). The issue is that the class will likely be evolving over time (likely: adding new properties, less likely but still poss...

Revision control and hosting comparison

I know that this question has been asked many times before in different guises and that I'm an ignorant n00b for thinking that I could add anything to the discussion. However, I'm interested not only in the version control system but also in its hosting options, compatible applications, and Windows compatibility. If you don't have expe...

Svn equivalent of p4 opened

Is there an equivalent command to 'p4 opened' in svn? ...

Auto-cleanup for TortoiseSVN

Sometimes Tortoise requires me to do cleanup for no good reason - meaning I didn't abuse / kill it / stop it in the middle ... IMO this is "normal opertaional flow" and shouldn't require a manual cleanup. Is there a way to not show these cleanup requests to the user but rather just do them silently under the hood and present a consisten...

Is there any point in TortoiseSVN diff highlighting last lines of both files as changed?

In TortoiseSVN 1.5.1 I've noticed a curious pattern. If I change one line in a versioned file and then view difference the diff will highlight not only the changed line but also the last line of the file (though the last line hasn't changed and the colors in the highlight display that correctly). Is there any use of this curious highlig...

Programming experiments

I frequently code numerous experiments to test various algorithms, libraries, or hardware. All code, dependencies, and output of these experiments need to be annotated and saved, so that I can return to them later. Are there good common approaches to this problem? What do you do with your experiments after running them? ...

Check out a read-only copy of a file from Subversion?

Sometimes I want to get a file from a repository for use in some project that's not under source control. Let's say it's just a file full of handy utility functions. I know I can just to an svn export but I'd like to be able to do an svn update from time to time to get the latest version of the file. The important thing is I don't want...

Enterprise Class Source Hosting Provider

Hi, there have been enough questions already about source code hosting for single developers or projects but what if you think about outsourcing your SVN repo hosting to an external provider? A viable provider should have experience with larger enterprise customers (SLA, support, etc.) and integrational aspects like SSO, UI theming, A...

Pitfalls of automated file versioning?

I'm working on a file management system and would like to include an automated versioning such as bates numbering if a file with the same name exists. I thought of inserting a "-v0001" between the filename and extension and counting the number of versions as they come in. $basename = pathinfo($filename, PATHINFO_BASENAME); $fname = pat...

How do I Unignore a file in TortoiseSVN?

I ignored a file in TortoiseSVN by mistake. How do I reverse this and add the file to my repository? ...

Does TFS log undo checkouts?

Let's say someone checkedout some files and then he/she undo the checkout. Can I find those undo checkout tracks in TFS history? Where? ...

Ignoring an already checked-in directory's contents?

I have a git repository that's used only to hold graphics and sound files used in several projects. They are all in one directory without sub-directories. Now I just created a script to copy these assets over from another, structured directory, with several levels of sub-directories. Now I only want the (source) hierarchical file struct...

Is there a way to view history on an entire folder in Borland StarTeam?

I'm trying to obtain an aggregate checkin history for an entire folder but haven't figured out a way to do this using the StarTeam client. I'm using StarTeam 2005 R2. Is this supported in a later version or is it something I'd need to use the StarTeam api to accomplish? ...

Different approaches to source control branching

When using source control, the way I am used to working is to develop on the trunk and then branch the trunk just prior to moving into QA. I was talking with some other people in the department and apparently there are some passionate views about a different way of working, which would be to create the new branch at the very beginning o...

Managing a dev vs production environment for a web app?

I have finished developing the core of a web application I have been working on. Since I was the only developer I just developed locally (lamp stack) without using version control (probably stupid but anyway..). Now that it is getting close to production ready, I have a couple other developers working with me so I set up a repository f...

Browse bazaar (or CVS/SVN/Git) repository with GUI?

Hi, Is there a nice, open-source, free way to browse a bazaar (or other source control) repository? What I had in mind is a wikipedia-history-like browsing, where I can watch and compare any two versions of the code. EDIT: I strongly prefer Ubuntu tools. Thanks, Udi ...

Git & Working on multiple branches

I've got a funny feeling I'm going to feel stupid after seeing the replies to this. I've been working with Git for a bit now and only just started using branches. I have a couple of branches: 'experimental', 'something' and 'master'. I've switched to the 'experimental' branch for example, and started working and testing as I go along. ...

Arguments against zip files as source control

What arguments can be used against using zip files of source code as a form of version control? In general each developer is working on their own program and has a responsibility for it. But there are times of course when other developers are involved in work on that program. Each developer has their own naming convention for zip files...

Boost linking, Visual Studio & version control

I'm using Visual Studio 2008, and writing some stuff in C++. I'm using a Boost library (that is not header only). So, linking to Boost requires one to add the directory to Boost binaries to the project's "additional linker paths" setting. However, doesn't this conflict with source control? If I check in the project files, wouldn't the ...