Module: HgList

Included in:
Takeltau::Hg
Defined in:
lib/takeltau/hg/list.rb

Overview

tau hg list

Instance Method Summary collapse

Instance Method Details

#hg_listObject

Backend method for hg list.



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/takeltau/hg/list.rb', line 6

def hg_list
  log.debug 'List hg repos'

  return false unless configured? %w[project_root_dir]

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

  run cmd_hg_list_repos
end