Sha256: febfdfb7aeee09b9474816a6cbbfc5218213c9e6272fa8c70f60c8d0a8825928
Contents?: true
Size: 404 Bytes
Versions: 3
Compression:
Stored size: 404 Bytes
Contents
require 'rubygems' require_relative 'hglib/client' module OhlohScm::Adapters class HglibAdapter < HgAdapter def setup hg_client = HglibClient.new(url) hg_client.start hg_client end def hg_client @hg_client ||= setup end def cleanup @hg_client && @hg_client.shutdown end end end require_relative 'hglib/cat_file' require_relative 'hglib/head'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ohloh_scm-2.1.0 | lib/ohloh_scm/adapters/hglib_adapter.rb |
ohloh_scm-2.0.1 | lib/ohloh_scm/adapters/hglib_adapter.rb |
ohloh_scm-2.0.0 | lib/ohloh_scm/adapters/hglib_adapter.rb |