docs: def get_revision_file(self, location):
          """Return revision for a file."""
  
          current_rev = self.run(['info', location])
  
          _INI_RE = re.compile(r"^([^:]+):\s+(\S.*)$", re.M)
  
          info_list = _INI_RE.findall(current_rev)
          return int(dict(info_list)['Revision'])