Sha256: 02c0051b408c30a539aa9a9a49a87d2c7a0fcb58d162e4bda7a9f306d32bfc39

Contents?: true

Size: 304 Bytes

Versions: 37

Compression:

Stored size: 304 Bytes

Contents

module OhlohScm::Adapters
	class HglibAdapter < HgAdapter

		def cat_file(commit, diff)
      hg_client.cat_file(commit.token, diff.path)
		end

    def cat_file_parent(commit, diff)
      tokens = parent_tokens(commit)
      hg_client.cat_file(tokens.first, diff.path) if tokens.first
    end

	end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
ohloh_scm-2.2.13 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.12 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.11 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.10 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.9 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.8 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.7 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.6 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.5 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.4 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.3 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.2 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.1 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.2.0 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.1.0 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.0.1 lib/ohloh_scm/adapters/hglib/cat_file.rb
ohloh_scm-2.0.0 lib/ohloh_scm/adapters/hglib/cat_file.rb