Sha256: 51ce8c55f5d27a7c2319c636d11487504abb4bf1c3b3088b66363ec9a2815b68

Contents?: true

Size: 373 Bytes

Versions: 5

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

# tau hg export
module HgExport
  # Backend method for hg export.
  def hg_export
    log.debug 'Export hg repos'

    return false unless configured? %w[project_root_dir]

    cmd_hg_export_repos = format(
      config.active['cmd_hg_export_repos'],
      root: config.active['project_root_dir']
    )

    run cmd_hg_export_repos
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
takeltau-0.35.18 lib/takeltau/hg/export.rb
takeltau-0.35.15 lib/takeltau/hg/export.rb
takeltau-0.35.14 lib/takeltau/hg/export.rb
takeltau-0.35.12 lib/takeltau/hg/export.rb
takeltau-0.35.11 lib/takeltau/hg/export.rb