Default SVN Index to start at HEAD Revision?

So we have some very large and old repositories complete with branches upon branches upon branches... Because of this, we would like to start out with FishEye indexing the current HEAD revision for each repository, then just maintain the scanning going forward.

I did find where I can specify the revision to start with indexing, but was unable to find where I could set a default to always start at the HEAD... Is there a way to do this without having to look up and specify the HEAD revision number?

Bonus points if there is a solution that includes the ability to configure this with the Directory Scanning plugin as well (because I don't want to add 1600+ repos by hand).

Thank you!

1 answer

1 accepted

1 vote

Hi Blake,

I am afraid FishEye accepts number only and it is impossible at the moment to specify the current HEAD at the moment of first contacting the repo. Directory Scanning Plugin wouldn't allow non number too. Feel free to raise an ehancement request for that in project.

With your 1600+ repositories you will most likely need to script that. Hopefully you could iterate over all the repos, check the current head revision with svn CLI. You can then use new REST API added in 3.4.0 release, which allows now easy repository creation, see documentation of POST /rest-service-fecru/admin/repositories:
In the examples provided you can see how to specify start version.

EDIT: you can find example python client for this REST API here:

Hope that helps,

Thank you for answering!!

I was afraid that was going to be the answer, but wanted to verify just in case I missed something.... But the REST API sounds very promising!! I will definitely be checking that out.

Thank you!

Suggest an answer

Log in or Join to answer
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

384 views 0 9
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot