Add ref to RevisionInfo

Currently the ref of a revision is only returned as part of the fetch
info. This is bad because the fetch info is only available if
download commands are installed. Even if download commands are
installed it's difficult to access the ref in the FetchInfo because
the FetchInfos are provided as a map with the protocol name as key and
one needs to guess a key or pick a random entry.

Change-Id: I7d95af9777c03bcb48464996774a7a20a36e6e06
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
4 files changed