Module: GitCheckHg
- Included in:
- Takeltau::GitCheck, Takeltau::Hg
- Defined in:
- lib/takeltau/git/check/hg.rb
Overview
tau git check hg
Instance Method Summary collapse
-
#git_check_hg ⇒ Boolean
Backend method for git check hg.
Instance Method Details
#git_check_hg ⇒ Boolean
Backend method for git check hg.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/takeltau/git/check/hg.rb', line 7 def git_check_hg log.debug 'Check if we are on the git hg branch' return false unless git_check_workspace branch = _git_check_hg_get_branch log.debug "We are on git branch \"#{branch}\"" branch == config.active['git_hg_branch'] end |