Which NetBeans projects files should go into source control?

The NetBeans knowledge base article on project files & version control discusses the NetBeans project files, with loose advice about which files are project specific (i.e. can be shared via version control), and which are user specific. Here is the section on version control: If the project is checked out of a version control system, … Read more

Show progress of Mercurial push/pull

Mercurial 3.5 has progress enabled by default. Earlier versions can use the standard progress extension shipped since version 1.5. Simply enable the extension by adding this to your hgrc file: [extensions] progress = You will then see progress bars on clone, push, pull, and other operations. The progress bars are only shown after an initial … Read more

TFS: Merge best practices

Merges from Dev* -> Integration and Integration -> Production should always be “copy” merges. This is the safest way to preserve the stability of your downstream branches. First merge in the other direction (e.g. Integration -> Dev2) to pick up the latest changes from the target branch. If there are conflicts, handle the diffs on … Read more

How can I use ClearCase to “add to source control …” recursively?

I would rather go with the clearfsimport script, better equipped to import multiple times the same set of files, and automatically: add new files, make new version of existing files previously imported (but modified in the source set of files re-imported) remove files already imported but no longer present in the source set of files. … Read more

Is there a way to remove the history for a single file in Mercurial?

It is correct that you cannot easily remove a particular file from Mercurial in the sense that doing so will disrupt all the changeset IDs in your repository. When you change the changeset IDs, everybody has to re-clone the repository. See the Wiki page about editing history for information about the consequences of modifying the … Read more