def initialize_scm_tool(self, client_name=None):
        repository_info, tool = scan_usable_client(self.config,
                                                   self.options,
                                                   client_name=client_name)

        try:
            tool.check_options()
        except OptionsCheckError as e:
            sys.stderr.write('%s\n' % e)
            sys.exit(1)

        return repository_info, tool
Initialize the SCM tool for the current working directory.
dataset/ETHPy150Open reviewboard/rbtools/rbtools/commands/__init__.py/Command.initialize_scm_tool