Sha256: 977238de2d45a7dae1cb047be58678cff62bf4002342763fee0bd4ec65fbee47
Contents?: true
Size: 624 Bytes
Versions: 12
Compression:
Stored size: 624 Bytes
Contents
# frozen_string_literal: true # tau hg push module HgPush # Backend method for hg push. def hg_push log.debug 'Push hg repos' return false unless git_lib_prepare_git_workspace unless _hg_push_hg_push_repos log.error 'Unable to tau hg push' return false end git_lib_push_hg_dirs end private # Push hg repos. def _hg_push_hg_push_repos cmd_hg_push_repos = format( config.active['cmd_hg_push_repos'], root: config.active['project_root_dir'] ) stdout, _, exitstatus = run_and_capture cmd_hg_push_repos log.info stdout exitstatus.zero? end end
Version data entries
12 entries across 12 versions & 1 rubygems