Sha256: 0cc49b1c7d95c65d2ee79041bc2b958e86f86db91c42554d54180a96e71ba6f3

Contents?: true

Size: 986 Bytes

Versions: 87

Compression:

Stored size: 986 Bytes

Contents

# frozen_string_literal: true

module Takeltau
  # tau hg
  class Hg < SubCommandBase
    include LoggingModule
    include SystemModule
    include ConfigModule
    include GitCheckClean
    include GitCheckHg
    include GitCheckWorkspace
    include GitLib
    include HgList
    include HgPull
    include HgPush

    #
    # hg list
    #
    desc 'list', 'List hg repos'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    List hg repos
    LONGDESC
    # List hg repos.
    def list
      hgclone = hg_list
      exit false if hgclone == false
      say hgclone
      true
    end

    #
    # hg pull
    #
    desc 'pull', 'Pull hg repos'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    Pull hg repos
    LONGDESC
    # Pull hg repos.
    def pull
      exit hg_pull
    end

    #
    # hg push
    #
    desc 'push', 'Push hg repos'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    Push hg repos
    LONGDESC
    # Push hg repos.
    def push
      exit hg_push
    end
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
takeltau-0.42.0 lib/takeltau/hg/cli.rb
takeltau-0.41.10 lib/takeltau/hg/cli.rb
takeltau-0.41.9 lib/takeltau/hg/cli.rb
takeltau-0.41.0 lib/takeltau/hg/cli.rb
takeltau-0.40.11 lib/takeltau/hg/cli.rb
takeltau-0.40.9 lib/takeltau/hg/cli.rb
takeltau-0.40.7 lib/takeltau/hg/cli.rb
takeltau-0.40.6 lib/takeltau/hg/cli.rb
takeltau-0.40.4 lib/takeltau/hg/cli.rb
takeltau-0.40.3 lib/takeltau/hg/cli.rb
takeltau-0.40.1 lib/takeltau/hg/cli.rb
takeltau-0.40.0 lib/takeltau/hg/cli.rb
takeltau-0.39.18 lib/takeltau/hg/cli.rb
takeltau-0.39.16 lib/takeltau/hg/cli.rb
takeltau-0.39.11 lib/takeltau/hg/cli.rb
takeltau-0.39.7 lib/takeltau/hg/cli.rb
takeltau-0.39.2 lib/takeltau/hg/cli.rb
takeltau-0.39.0 lib/takeltau/hg/cli.rb
takeltau-0.38.2 lib/takeltau/hg/cli.rb
takeltau-0.38.1 lib/takeltau/hg/cli.rb