'Returns (url, revision), where both are strings'

def get_info(self, location):

    assert (not location.rstrip('/').endswith(self.dirname)), ('Bad    directory:    %s' % location)
    return (self.get_url(location), self.get_revision(location))
