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.44.14 lib/takeltau/hg/cli.rb
takeltau-0.44.12 lib/takeltau/hg/cli.rb
takeltau-0.44.11 lib/takeltau/hg/cli.rb
takeltau-0.44.8 lib/takeltau/hg/cli.rb
takeltau-0.44.2 lib/takeltau/hg/cli.rb
takeltau-0.43.23 lib/takeltau/hg/cli.rb
takeltau-0.43.21 lib/takeltau/hg/cli.rb
takeltau-0.43.19 lib/takeltau/hg/cli.rb
takeltau-0.43.16 lib/takeltau/hg/cli.rb
takeltau-0.43.15 lib/takeltau/hg/cli.rb
takeltau-0.43.14 lib/takeltau/hg/cli.rb
takeltau-0.43.10 lib/takeltau/hg/cli.rb
takeltau-0.43.6 lib/takeltau/hg/cli.rb
takeltau-0.43.4 lib/takeltau/hg/cli.rb
takeltau-0.43.2 lib/takeltau/hg/cli.rb
takeltau-0.43.1 lib/takeltau/hg/cli.rb
takeltau-0.42.7 lib/takeltau/hg/cli.rb
takeltau-0.42.5 lib/takeltau/hg/cli.rb
takeltau-0.42.4 lib/takeltau/hg/cli.rb
takeltau-0.42.3 lib/takeltau/hg/cli.rb