Merge branch 'stable-2.12'

* stable-2.12:
  Destination: Consider ref visibility when scheduling replication

On master the isVisibilty method was renamed to shouldReplicate and has
additional logic to check for replication of hidden projects.

Rename the newly added isVisibility method to shouldReplicate to be
consistent. Move the hidden projects logic to a utility method and use
it in both shouldReplicate methods.

Change-Id: I7b713636164fd78425561a98a1f50182c9501f4a
tree: 3267df35f9ed09fd679b945bcc63b53820f01fac
  1. .settings/
  2. src/
  3. .gitignore
  4. BUCK
  5. LICENSE