Sha256: 72f133e66c995aeae8a9a7ea03c21f2384f95bab78df1fabf05af2d7ad757090
Contents?: true
Size: 624 Bytes
Versions: 13
Compression:
Stored size: 624 Bytes
Contents
# frozen_string_literal: true # tau hg pull module HgPull # Backend method for hg pull. def hg_pull log.debug 'Pull hg repos' return false unless git_lib_prepare_git_workspace unless _hg_pull_hg_pull_repos log.error 'Unable to tau hg pull' return false end git_lib_push_hg_dirs end private # Pull hg repos. def _hg_pull_hg_pull_repos cmd_hg_pull_repos = format( config.active['cmd_hg_pull_repos'], root: config.active['project_root_dir'] ) stdout, _, exitstatus = run_and_capture cmd_hg_pull_repos log.info stdout exitstatus.zero? end end
Version data entries
13 entries across 13 versions & 1 rubygems