How to configure svn symbolic rules to use logical path

Ken Taylor May 6, 2012

1. Configure a subversion repository for a repository that includes the standard structure:

tags/project-v1.0/
common
server
client
tags/project-v1.1/
common
server
client

2. Disable built-in symbolic rules and use custom symbolic rules that include:

regex: ^tags/([^/]+)
name: ${1}
prefix: <none>

3. Test the rule with the structure above:

test path: tags/project-v1.0/common
Container: tag:project-v1.0
Logical Path: common
Logical Tail: common

4. Save

5. Build index

6. Browse repository in fisheye

EXPECT: Top level directories are:

client
common
server

ACTUAL:

tags/project-v1.0
tags/project-v2.0

NOTE:

The example is just for tags but trunk and branches are similarly affected.

2 answers

1 accepted

1 vote
Answer accepted
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2012

Hi,

Your symbolic rules look fine to me, but I think there is a bit of confusion over what FishEye shows. When you browse a Subversion repository, FishEye shows the physical paths. Your symbolic rules are used to determine branch/tag memberships and logical paths. You can verify this by going to the revision list for a file and checking the path, branch and tag information associated with each of the revisions.

Cheers,

Michael

Ken Taylor May 7, 2012

While it was not what I expected to see, I do now find that it behaves as I expected. I can select trunk, drill down into trunk/common/Shared/.classpath, and switch to tag project-v1.0 to end up in tags/project-v1.0/common/Shared/.classpath, which is what I was after.

Thanks for providing me the confidence in my configuration to forge ahead :)

0 votes
Ken Taylor May 6, 2012

In case this is a problem, I have entered a support request also: FSH-8924

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events