Method: GitLib#git_lib_push_hg_dirs
- Defined in:
- lib/takeltau/git/lib.rb
#git_lib_push_hg_dirs ⇒ Object
Push git workspace.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/takeltau/git/lib.rb', line 28 def git_lib_push_hg_dirs log.info 'Pushing git workspace' = 'Update .hg mercurial directories' return false unless _git_lib_git_add_hg_dirs # Do not fail or a clean workspace triggers a return _git_lib_git_commit return true if _git_lib_git_push_origin_hg log.debug 'Unable to git push .hg mercurial directories' false end |