Fetch all refs/heads from upstream and push them.

Previously we were only fetching and pushing the default upstream branch
to the new Gerrit repos. Explicitly fetch all the upstream refs/heads/*
and push them to the new Gerrit repo's refs/heads/*.

Change-Id: Icd94453c640961e8d759073fb2a2f51163d875e9
Reviewed-on: https://review.openstack.org/17262
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
1 file changed