Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Crucible symbolic rules are not working even tho "test path" seems to give correct result

WebhusetA February 18, 2013

I created SVN symblic rules for our branching pattern. The "test path" button seem to print a result which is consistent with the example documentation, but cruicible recognizes all our files as part of the "root:" catch-all.

I am coming to you, hat in hand, to see if someone has some insight into this issue.

When we create a feature branch we branch out the whole trunk folder, so we get "a bunch of projects" in our new branch. This causes our line count to increase about 3 million each time we create a new branch, since crucible does not recognize them as branches.

Out branching structure is as follows:

  • Repository
    • _SomeIrrelevantFolder
    • _Trunk
      • OurCompany.SomeProject\SomeSubProject\SomeFile.cs
    • SomeFeatureBranch
      • ...
    • SomeOtherFeatureBranc
      • ...

These are the settings for SVN symbolic rules:

TRUNK
Regular expression: (.*)(/dotnetrepo/)_Trunk/
Name: trunk
Logical Path Prefix: ${1}${2}

BRANCHES
Regular expression: (.*)(/dotnetrepo/)([^_])([^/]*)
Name: ${3}${4}
Logical Path Prefix: ${1}${2}

TAGS
Regular Expression: (.*)DONOTMATCHTHISTEXT
Name: DONOTMATCHTHISTEXT
Logical Path Prefix:

These are the results of running "Test path":

TEST PATH: svn://svn.some.tld/dotnetrepo/_Trunk/Anon.Alarm/Anon.Alarm.Library/IoCRegistry.cs
Container trunk:trunk
Logical Path svn://svn.some.tld/dotnetrepo/Anon.Alarm/Anon.Alarm.Library/IoCRegistry.cs
Logical Tail Anon.Alarm/Anon.Alam.Library/IoCRegistry.cs

TEST PATH: svn://svn.some.tld/dotnetrepo/SomeBranch/Anon.Alarm/Anon.Alarm.Library/IoCRegistry.cs
Container branch:SomeBranch
Logical Path svn://svn.some.tld/dotnetrepo/Anon.Alarm/Anon.Alarm.Library/IoCRegistry.cs
Logical Tail Anon.Alarm/Anon.Alam.Library/IoCRegistry.cs

As far as I can gather from the results of the tests, these are the expected results. However, as I explained in the intro, all branches are "root:". I tried running the reindex multiple times, but no success.

Does anyone have some insight into this issue? Could someone please confirm if the results from my tests are in the correct format?

Best regards,
Pål Tuv

1 answer

1 accepted

1 vote
Answer accepted
Sergey Svishchev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2013

Regexps are applied to paths within the repository, not to full URLs. So "(/dotnetrepo/)" part is not needed.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events