version-control

Adding Visual Studio Project references to SVN

I checked in a project to SVN with about 15 references from one dev box then checked out the same project on a second dev box but most of the reference files are missing. Is it possible to checkin the reference files automatically? ...

Adding unversioned files to subversion

Is it possible to add files to subversion that isn't supposed to be versioned? F.ex. config-files that needs to be edited to match each individual environment. When a new programmer is connected to the project he should get the original file from subversion but it wont be commited after he edits it and it wont be overwritten when he upda...

TFS won't allow folder rename, claims that there are locks

In visual studio 2008, I want to rename a folder due to a typo in the name. I rename it in the solution structure. The folder and .CSProj files are now checked out, and I check in. TFS comes back with "Microsoft Visual studio cannot perform the source control operation at this time because some of the files involved in the operation are...

How do you refactor a class that is constantly being edited?

Over the course of time, my team has created a central class that handles an agglomeration of responsibilities and runs to over 8,000 lines, all of it hand-written, not auto-generated. The mandate has come down. We need to refactor the monster class. The biggest part of the plan is to define categories of functionality into their own cl...

Can I use multiple source control providers on one project in Visual Studio?

At work, we use Team Foundation Server for source control. I work from home a lot, though, and external access to our Team Foundation Server isn't possible now or in the foreseeable future. I'm utterly fed up of using email/usb source control - almost as bad as no source control at all - so I was thinking about bringing the project(s) ho...

Subversion: how to nuke a repository?

Is there a way to completely erase a Subversion repository so that users can't access to old revisions? PS: I have root access on the repositories machine. ...

Best way to lay out multiple projects in AccuRev

I am in the process of switching to AccuRev from another SCM. I have quite a few projects and am struggling how to properly lay them out in AccuRev. I have quite a few related projects and would like to keep them in a single depot, but I haven't found out how to separate them so you can keep track of individual projects. In other words...

Perforce - getting email on every checkin

Is there a way to get Perforce to send you an email on every check to a particular depository? ...

Is it overkill to integrate Subversion in an application with a simple file archive?

As we're about to start planning an application that will handle media files (mp3, flv, pdf, images), I'm thinking about how to handle the file storage. The files will change and versions should be tracked to a degree, so integrating SVN in the app comes to mind. Now I wonder, is it too much? I'm quite sure we'll only use a fraction of ...

Source code change notification in Visual SourceSafe possible?

Hi, Can we configure Visual SourceSafe server to send email notifications on source code changes to a predefined mailing list? Best regards Manav Sharma ...

TortoiseSVN Merging

Hi. I don't have any experience with SVN and TortoiseSVN. In some stage of development we have received request to localize application for new customer. This is big task, and we decide to make branch for localization and continue development application without localization. Currently, localization is finished and we need merge this...

How do I do a 'git status' so it doesn't display untracked files without using .gitignore?

How do I do a 'git status' so it doesn't display untracked files without using .gitignore? I want to get modification status information on tracked files only. ...

Can I integrate a file not in my client spec?

Is there a way to integrate files not in your client spec? Specifically we've got a directory that contains a large number of static libraries that I build locally (so I don't need them out of source control), and would prefer not to have to pull them down from the server just to do an integrate. In branch spec: //project1/project/li...

best practice for backing up cvs repository?

Hi, Some of our projects are still on cvs. We currently use tar to backup the repository nightly. Here's the question: best practice for backing up a cvs repository? Context: We're combining a several servers across the country onto one central server. The combined repsitory size is 14gb. (yes this is high, most likely due to lots ...

Best branching strategy when doing continuous integration?

What is the best branching strategy to use when you want to do continuous integration? Release Branching - Unstable Trunk: or Feature Branching - Stable Trunk: Does it make sense to use both of these strategies together? As in, you branch for each release but you also branch for large features? Does one of these strategies mesh ...

git: how to squash the first two commits?

With git rebase --interactive <commit> you can squash any number of commits together into a single one. It's an OCD heaven. And that's all great unless you want to squash commits into the initial commit. That seems impossible to do. Any way to achieve it? Moderately related: In a related question, I managed to come up with a differ...

SVN problem: What is the latest revision that still contained this code snippet?

It is good practice to remove old code instead of just commenting it out. It is often claimed that the old code parts can always be found again in the old SVN repository revision, if needed. But practically, it's not that easy, right? If the old code is in some unknown old SVN revision then it can be quite hard to find. I'm exactly in...

Experience with local version control of SVN working copy?

At my place of work, we use SVN and TortoiseSVN (Windows XP) as a client. I have a longish commute and work offline during that. Now, I'd like to have some sort of "extended undo" locally; i.e. I would like to have local version control of my SVN working copy, in order to dare to refactor for example. Switching altogether to e.g. git, me...

Version control for binaries with timestamps

I need a version control system that works like Subversion but is able to keep the 'modified' timestamp (date) of each file. We need to version our setup projects. In this case it is imporatant that the input files (dll/exe's) keep their timestamp. What is the best tool to do this? (OS: Windows) Updated: Here's an example of what I ...

Should I keep my site media in my website's repository?

I have a simple blog application written in Python, using Django. I use Git to version-control this website. The main content of the site is a blog. The blog entries are stored in a SQLite database (which is not version-controlled, but is backed up regularly); some entries contain images and other media (like PDFs). I currently store th...