Can the Start Revision for an existing Repository be changed?

We have a SVN repo with a large number of changes.  In the interest of being able to actually start using the tool, we initially created a Fisheye repository using a Start Revision rather than the default 'dawn of time' scenario.

One side effect of this is that if a given file was last changed before "Start Revision", Crucible is unable to show a diff.

I'm curious if it is possible to edit an existing repository to move Start Revision back to an earlier revision.  Will Fisheye notice the change and back-fill its view of the repository?

 

Thanks,

Neal

1 answer

1 accepted

Accepted Answer
1 vote

It is possible to amend the Start Revision, but FishEye would prompt you for a full reindex of the repository.  The final outcome would be what you expect I believe, but in the interim period when repository is being reindexed you may not be able to access the data already indexed before.  This is because when changing Start Revision FishEye can't easily backfill the missing data, parts of indexing logic needs to follow changeset ancestry in the topological order and FishEye ends up discarding all previously indexed data and start indexing repository again.

If repository is large and you don't want to have reindex taking place on your instance, you may want to consider building a full index of the same repository on secondary FishEye instance.  One this is complete you can simply reconfigure repository on the production site, change the start revision to 0, then stop the repository, copy caches from secondary instance and start it again.  The procedure is explained in detail on https://confluence.atlassian.com/display/FISHEYE/How+do+I+Avoid+Long+Reindex+Times+When+I+Upgrade#HowdoIAvoidLongReindexTimesWhenIUpgrade-Howtoreindexasinglerepositoryonatestserver page.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

474 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