• Share this article:

Pasting a CVS URL

Wednesday, January 24, 2007 - 23:36 by Wayne Beaton

There are a great many features in Eclipse that I take for granted. One is the handy way that the "Add CVS Repository" wizard handles CVS URLs. The wizard is opened from the "CVS Repositories" view, by selecting menu item "New > Repository location…".

When you first see the wizard, it looks like you have to cut and paste the different bits of your CVS URL into the different fields.
However, if you just paste your URL into the first field, it automagically parses the bits out and populates all the fields appropriately. For example, pasting the CVS URL, ":pserver:anonymous@dev.eclipse.org:/cvsroot/org.eclipse", fills in the fields as follows:

I don’t do this very often, but it’s sure handy when I do…