return codes for repo sync.