'Revision and URL of subversion working directory.'

def get_revision(self):

    text = '\n'.join(self._exec(['info', self.dest]))
    rev = re.search('^Revision:.*$', text, re.MULTILINE).group(0)
    url = re.search('^URL:.*$', text, re.MULTILINE).group(0)
    return (rev, url)
