class Mercurial::Configuration

Use this class to setup various internal settings of the gem.

Example:

Mercurial.configure do |conf|
 conf.cache_store = Rails.cache
 conf.debug_mode = true
end

Only the following settings are supported:

Attributes

cache_store[RW]
debug_mode[RW]
hg_binary_path[RW]
shell_timeout[RW]

Public Class Methods

new() click to toggle source
# File lib/mercurial-ruby/configuration.rb, line 24
def initialize
  @hg_binary_path = '/usr/local/bin/hg'
  @shell_timeout  = 3000
  @debug_mode     = false
end