Module: InfoStatusHg

Included in:
Takeltau::InfoStatus
Defined in:
lib/takeltau/info/status/hg.rb

Overview

tau info status hg

Instance Method Summary collapse

Instance Method Details

#info_status_hgBoolean

Backend method for info status hg.



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

def info_status_hg
  log.debug 'Check hg status'

  unless _info_status_hg_username
    log.error 'hg ui.username is not configured'
    return false
  end

  log.debug 'hg config is available'
  true
end