Feb 04

Tag vs. Location in Subversive tag dialog

Tags: , , , Comments Off on Tag vs. Location in Subversive tag dialog

Have you ever wondered why you have to enter the full location for a tag (like http://svnserver/tags/v20080204) instead of simply entering the tag name (like v20080204) when you are about to create a new tag for a project via the context menu (Team -> Tag…)?

The solution is to enable structure detection for the Subversion repository:

  • Switch to the SVN Repository Exploring perspective in Eclipse
  • In the SVN Repositories view, right-click on the repository and select Location Properties…
  • Go to the Advanced tab and activate Enable Structure Detection

Of course, the Resource Names must correspond to the folders in the repository to make this work.

From now on, the tag dialog will ask you for the Tag instead of the full Location.

blog