Crucible and Perforce - single repository, or many?

We are running Crucible 2.8.1 and have configured it with our Perforce 2010.1 server. In our Perforce repository, we have many dozens of active branches that contain changes that we'd like to be able to review with Crucible across different Crucible projects. I'm not sure from the documentation whether I should configure a single repository in Crucible that points to everything (//depot/...), or if I should make several smaller repositories (//depot/eng/iOS/feature/featureA, //depot/eng/Android/feature/featureB, etc).

Using smaller repositories is tedious, because someone has to come in and create a new repository each time we create a new source code branch in Perforce (//depot/eng/server/feature/featureA). With several dozen new projects, that becomes messy and high-maintenance.

Using a single large repository covers everything. But I wonder if this is frowned upon for efficiency? What is the recommendation here? We are not using Fisheye, so I presume it's using build-in 'light' Fisheye.

Thanks very much for your help!

2 answers

0 votes
Janet Albion Atlassian Team Mar 14, 2013

Hi Jeff,

In case if you haven't review the Exclude path feature in FishEye especially for large , you might to check this feature. Detail on performance tuning available at:

0 votes

Hi Jeff,

We recommend splitting large repositories into smaller logical components (i.e., by product or project):

The advantages of doing that, according to the link above, are:

  • A logical structure will make it simpler to exclude certain branches when they become less relevant to work in progress. This can garner significant performance gains.
  • Avoid treating an SCM like a file system — don't alter the structure or move items around without a significant reason for doing so. Make these changes sparingly and as infrequently as possible.
  • The more often you make major changes to the structure inside your SCM, the more scanning is required for FishEye to keep track of its status. This especially applies to Subversion, because of its concept of 'cheap copies'. The result is that small changes can be essentially unmeasurable and cause a large amount of re-scanning.

There's no need to create a separate repository for each branch.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,
Felipe Kraemer
Atlassian Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

228 views 0 12
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