def _rev(repo):
 try:
  repo_info = dict(six.iteritems(CLIENT.info(repo['repo'])))
 except (pysvn._pysvn.ClientError, TypeError, KeyError, AttributeError) as exc:
  log.error('Error retrieving revision ID for svnfs remote {0} (cachedir: {1}): {2}'.format(repo['url'], repo['repo'], exc))
 else:
  return repo_info['revision'].number
 return None

def _rev ( repo ) : try : repo_info = dict ( six . iteritems ( CLIENT . info ( repo [ 'repo' ] ) ) ) except ( pysvn . _pysvn . ClientError , TypeError , KeyError , AttributeError ) as exc : log . error ( 'Error retrieving revision ID for svnfs remote {0} (cachedir: {1}): {2}' . format ( repo [ 'url' ] , repo [ 'repo' ] , exc ) ) else : return repo_info [ 'revision' ] . number return None
returns revision id of repo .