Sha256: 264275f790b184c12c35a5c92a2295465a813d0180d9be403d61a1e2c3000f68

Contents?: true

Size: 482 Bytes

Versions: 70

Compression:

Stored size: 482 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

    _hg_push_hg_push_repos

    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']
    )

    log.info run cmd_hg_push_repos
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
takeltau-0.42.0 lib/takeltau/hg/push.rb
takeltau-0.41.10 lib/takeltau/hg/push.rb
takeltau-0.41.9 lib/takeltau/hg/push.rb
takeltau-0.41.0 lib/takeltau/hg/push.rb
takeltau-0.40.11 lib/takeltau/hg/push.rb
takeltau-0.40.9 lib/takeltau/hg/push.rb
takeltau-0.40.7 lib/takeltau/hg/push.rb
takeltau-0.40.6 lib/takeltau/hg/push.rb
takeltau-0.40.4 lib/takeltau/hg/push.rb
takeltau-0.40.3 lib/takeltau/hg/push.rb