Skip loading of fetch refSpecs targets

When loading destination configurations, gracefully skip those targets
that have explicitly set fetch refSpecs since they do not constitute valid
targets to replicate to.

Endpoints configured to replicate via fetch refSpecs might be dealt with
by the pull-replication plugin instead.

Note: To ensure back compatibility, the absence of both push and fetch values
is still interpreted as push to refs/*:refs/* (or to +refs/*:refs/*,
when `gerrit.defaultForceUpdate` is true).

Feature: Issue 11775
Change-Id: Icb624790686ce6346128a2cce5bf158792c8d3e9
2 files changed
tree: 67ccf8a39ceafc9320282eae6a278be42b5db166
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE