code: def _try_copy_dvc_config(project_dir, run_dir, resolved_repo_paths):
      src = os.path.join(project_dir, ".dvc", "config")
      if not os.path.exists(src):
          raise util.TryFailed()
      dest = os.path.join(run_dir, ".dvc", "config")
      util.ensure_dir(os.path.dirname(dest))
      util.copyfile(src, dest)
      resolved_repo_paths.append(dest)
  
imports: import json
  import logging
  import os
  import subprocess
  import yaml
  from guild import util
  from guild import var
label_desc: Use image node_id 23 for calling a global function with example usage: _try_copy_dvc_config(project_dir, run_dir, resolved_repo_paths) without return types