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.46.9 lib/takeltau/hg/cli.rb
takeltau-0.46.8 lib/takeltau/hg/cli.rb
takeltau-0.46.5 lib/takeltau/hg/cli.rb
takeltau-0.46.1 lib/takeltau/hg/cli.rb
takeltau-0.46.0 lib/takeltau/hg/cli.rb
takeltau-0.45.27 lib/takeltau/hg/cli.rb
takeltau-0.45.26 lib/takeltau/hg/cli.rb
takeltau-0.45.24 lib/takeltau/hg/cli.rb
takeltau-0.45.23 lib/takeltau/hg/cli.rb
takeltau-0.45.22 lib/takeltau/hg/cli.rb
takeltau-0.45.21 lib/takeltau/hg/cli.rb
takeltau-0.45.19 lib/takeltau/hg/cli.rb
takeltau-0.45.17 lib/takeltau/hg/cli.rb
takeltau-0.45.16 lib/takeltau/hg/cli.rb
takeltau-0.45.14 lib/takeltau/hg/cli.rb
takeltau-0.45.13 lib/takeltau/hg/cli.rb
takeltau-0.45.12 lib/takeltau/hg/cli.rb
takeltau-0.45.11 lib/takeltau/hg/cli.rb
takeltau-0.45.10 lib/takeltau/hg/cli.rb
takeltau-0.45.9 lib/takeltau/hg/cli.rb