code: def _init_dvc_repo(state):
      repo_paths = []
      try:
          dvc_util.ensure_dvc_repo(
              state.run_dir, state.project_dir, repo_paths
          )
      except dvc_util.DvcInitError as e:
          raise SystemExit(str(e)) from e
      else:
          state.manifest_entries.extend(
              _internal_file_entries_for_repo_paths(repo_paths, state)
          )
  
imports: import argparse
  import logging
  import os
  import subprocess
  import yaml
  from guild import op_util
  from guild import run
  from guild import run_manifest
  from guild import summary
  from guild import util
  from .None import dvc_util
label_desc: Use image node_id 11 for calling a global function with example usage: _init_dvc_repo(state) without return types