version-control

Grails applications and version control

Which directories/files should be excluded when placing a Grails application under version control? I don't want non-source files or artifacts to be carried in SVN for my project. ...

Manage ASP.NET Web Service Source Code

I'm working on building a set of ASP.NET (2.0) web-services to be deployed into a single web application under IIS7. The services will be added incrementally (over a period of a year or more) by multiple programmers. How should I organize my source in VS2005. Should I use one project or several? Should I use a Web-Application or Web-Si...

Is there a way to get to the git root directory in one command?

Mercurial has a way of getting to the root directory (that contains .hg) via hg root Is there something equivalent in git to get to the directory that contains the .git directory? ...

How to prevent Subversion from merging binary files?

Hey all, We have the need to keep .dlls in our repository. Our team experiences SVN conflicts on .dll files quite frequently and it is super annoying. For some reason, even though the mime type of the .dlls are set to application/octet-stream, svn is still trying to merge them. From what I found here (which I swear the way things us...

How do I disable the update software message box with Tortoise SVN client

When using Tortoise SVN for the first time since a reboot, if the software has a new version, a message box appears asking to visit the website to get the new version. Does anyone know of a way to disable this? ...

Finding bugs by bisecting (searching) revision history, and untestable commits (revisions)

Most modern version control tools have a command to find a change that introduced a bug by binary search (bisecting) of a history. Such command might be built-in, or it might be provided as extension or plugin. Examples include git-bisect in Git, "hg bisect" in Mercurial (earlier available as hbisect extension), and bzr-bisect plugin for...

How can I index our internal source code?

Google Code Search has indexed Subversion and Mercurial repositories, so people can search open source projects. How can I do the same for my company's repository with the least effort and without publishing our code? We have Trac (with Subversion) at our shop, but it only indexes Changesets, and we also have Visual Source Safe. ...

Getting into Source Control

So I've decided it's probably best if I get some Source Control solution going to keep my hard work safe, and to help eradicate bugs between versions. I'm familiar with SVN as far as checking stuff out, but I have NFI about the committing side of things. What is a good Source Control solution, keeping in mind that I develop in Visual S...

Where to manage the most sensitive content you have under version control?

Do any version control systems allow you to specify line level security restrictions rather than file level? I know it would be horrible to maintain. If I wanted to never allow certain strings into the database should I be looking into the notion of hooks and manage all the very sensitive information in that hook layer? How do hooks g...

How to use Svn and Perforce simultaneously

I have a project coded in python and I use svn for source-control. But now, I have a part of this code I need to commit with Perforce. As the source tree is quite large with lots of files, I don't want to duplicate the files on the different computers. So I want to keep working on SVN and sometimes, push the code on Perforce. But I have...

Git File Integrity

Recently my main machine i use for development started overheating. I started to get 4 5 lockups per day. Everything freezes. All my projects are under version control using git. I remember watching linus's talk at google saying git will ensure that the files are not corrupt. In my situation is it safe to assume that git will warn me if ...

Does Visual Source Support SVN-like Post Commit Hooks?

I am forced to use Visual Source Safe at my current job. Yes I know, It's like a stick in the eye. But VSS won't go away, VSS is here to stay. I was wondering if there is any way to do something similar to Subversion's Post-Commit hooks in VSS? Coupled with a few deployment scripts, this would make our lives much, much easier. ...

Visual Source Safe Changelists

Maybe just maybe somebody knows of an plugin that will let VSS do perforce-like changelists? I know its a long shot, but we are stuck with VSS. ...

Setup version control for Dreamweaver CS3?

I have NEVER used ANY version control system before. I am currently using the check-in-check-out feature of Dreamweaver but I would like to implement some sort of version control system where I can roll back to previous versions. Also it would be great but not required if I could go back like 3 versions, fix a bug, and have that bug fixe...

Do you version control the invidual apps or the whole project or both?

OK, so I have a Django project. I was wondering if I'm supposed to put each app in its own git repository, or is it better to just put the whole project into a git repository, or whether I should have a git repo for each app and also a git repo for the project? Thanks. ...

Installed apps in Django - what about versions?

After looking at the reusable apps chapter of Practical Django Projects and listening to the DjangoCon (Pycon?) lecture, there seems to be an emphasis on making your apps pluggable by installing them into the Python path, namely site-packages. What I don't understand is what happens when the version of one of those installed apps chang...

VSTS report on Source Control

Is there a way in VSTS 2008 to generate a report on the source control in Team Foundation Server, of what are the files that were changed by user: x for last few days? ...

Can the SVN and HTTP protocols be used safely on the same repository simultaneously?

We would like to evaluate whether the SVN protocol works better for our team than HTTP, but we don't want to commit to a full switch just yet. Right now we have an Apache sever serving up our main repository. Can we safely use svnserve.exe to with the same repository so that a few of our developers can test it? My initial guess is that ...

How can I manage production/test/development configuration info using subversion?

I'm working on a combined web/client app that has branches for production, test, and development. I'm using svn post commit hooks to deploy updates to the production and test servers. The client app needs to point to different urls depending on production, test, or development. How can I manage this using subversion? Options I've thought...

How to version REST URIs

What is the best way to version REST URIs? Currently we have a version # in the URI itself, ie. http://example.com/users/v4/1234/ for version 4 of this representation. Does the version belong in the queryString? ie. http://example.com/users/1234?version=4 Or is versioning best accomplished another way? ...