How to configure svn symbolic rules to use logical path

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

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

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 :)

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
Community showcase
Published Wednesday in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

67 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you