Class: MercurialAdapter (Redmine::Scm::Adapters)

Overview
Module Structure
Class Hierarchy
Constants
MercurialAdapter::HG_BIN
MercurialAdapter::HELPERS_DIR
MercurialAdapter::HG_HELPER_EXT
MercurialAdapter::TEMPLATE_NAME
MercurialAdapter::TEMPLATE_EXTENSION
Class Methods
MercurialAdapter.client_command
MercurialAdapter.sq_bin
MercurialAdapter.client_version
MercurialAdapter.client_available
MercurialAdapter.hgversion
MercurialAdapter.hgversion_from_command_line
MercurialAdapter.template_path
MercurialAdapter.template_path_for / 1
Instance Methods
MercurialAdapter#initialize / 5
MercurialAdapter#path_encoding
MercurialAdapter#info
MercurialAdapter#tags
MercurialAdapter#tagmap
MercurialAdapter#branches
MercurialAdapter#branchmap
MercurialAdapter#summary
MercurialAdapter#entries / 3
MercurialAdapter#revisions / 4
MercurialAdapter#each_revision / 4
MercurialAdapter#nodes_in_branch / 2
MercurialAdapter#diff / 3
MercurialAdapter#cat / 2
MercurialAdapter#annotate / 2
MercurialAdapter#hg / 2
MercurialAdapter#hgrev / 2
MercurialAdapter#hgtarget / 1
MercurialAdapter#as_ary / 1
is a submodule of
module: Adapters ( Redmine::Scm )
is modularized into
class: HgCommandAborted   
class: Revision   
inherits from
  AbstractAdapter ( Redmine::Scm::Adapters )
has properties
constant: HG_BIN   
constant: HELPERS_DIR   
constant: HG_HELPER_EXT   
constant: TEMPLATE_NAME   
constant: TEMPLATE_EXTENSION   
class method: client_command   
class method: sq_bin   
class method: client_version   
class method: client_available   
class method: hgversion   
class method: hgversion_from_command_line   
class method: template_path   
class method: template_path_for / 1   
method: initialize / 5   
method: path_encoding   
method: info   
method: tags   
method: tagmap   
method: branches   
method: branchmap   
method: summary   
method: entries / 3   
method: revisions / 4   
method: each_revision / 4   
method: nodes_in_branch / 2   
method: diff / 3   
method: cat / 2   
method: annotate / 2   
method: hg / 2   
method: hgrev / 2   
method: hgtarget / 1   
method: as_ary / 1   
is defined at
#24 in lib/redmine/scm/adapters/mercurial_adapter.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: Redmine
  module: Scm
  module: Adapters
  class: AbstractAdapter
✗ class: MercurialAdapter
class: HgCommandAborted     
class: Revision     

Class Hierarchy

Object ( Builtin-Module )
Exception ( Builtin-Module )
AbstractAdapter ( Redmine::Scm::Adapters )
has properties
class method: client_command   
class method: shell_quote_command   
class method: client_version   
class method: client_version_string   
class method: client_version_above? / 2   
class method: client_available   
class method: shell_quote (1/2) / 1   
method: initialize / 5   
method: adapter_name   
method: supports_cat?   
method: supports_annotate?   
method: root_url   
method: url   
method: path_encoding   
method: info   
method: entry / 2   
method: entries / 3   
method: branches   
method: tags   
method: default_branch   
method: properties / 2   
method: revisions / 4   
method: diff / 3   
method: cat / 2   
method: with_leading_slash / 1   
method: with_trailling_slash / 1   
method: without_leading_slash / 1   
method: without_trailling_slash / 1   
method: shell_quote (2/E) / 1   
method: retrieve_root_url   
method: target / 2   
method: logger (1/2)   
method: shellout (1/2) / 3   
class method: logger (2/E)   
class method: shellout (2/E) / 3   
class method: strip_credential (1/2) / 1   
method: strip_credential (2/E) / 1   
method: scm_iconv / 3   
MercurialAdapter ( Redmine::Scm::Adapters )
has properties
constant: HG_BIN   
constant: HELPERS_DIR   
constant: HG_HELPER_EXT   
constant: TEMPLATE_NAME   
constant: TEMPLATE_EXTENSION   
class method: client_command   
class method: sq_bin   
class method: client_version   
class method: client_available   
class method: hgversion   
class method: hgversion_from_command_line   
class method: template_path   
class method: template_path_for / 1   
method: initialize / 5   
method: path_encoding   
method: info   
method: tags   
method: tagmap   
method: branches   
method: branchmap   
method: summary   
method: entries / 3   
method: revisions / 4   
method: each_revision / 4   
method: nodes_in_branch / 2   
method: diff / 3   
method: cat / 2   
method: annotate / 2   
method: hg / 2   
method: hgrev / 2   
method: hgtarget / 1   
method: as_ary / 1   
Revision ( Redmine::Scm::Adapters )

Constants

MercurialAdapter::HG_BIN

#27 in lib/redmine/scm/adapters/mercurial_adapter.rb

HG_BIN = Redmine::Configuration['scm_mercurial_command'] || "hg"   

MercurialAdapter::HELPERS_DIR

#28 in lib/redmine/scm/adapters/mercurial_adapter.rb

HELPERS_DIR = File.dirname(__FILE__) + "/mercurial"   

MercurialAdapter::HG_HELPER_EXT

#29 in lib/redmine/scm/adapters/mercurial_adapter.rb

HG_HELPER_EXT = "#{HELPERS_DIR}/redminehelper.py"   

MercurialAdapter::TEMPLATE_NAME

#30 in lib/redmine/scm/adapters/mercurial_adapter.rb

TEMPLATE_NAME = "hg-template"   

MercurialAdapter::TEMPLATE_EXTENSION

#31 in lib/redmine/scm/adapters/mercurial_adapter.rb

TEMPLATE_EXTENSION = "tmpl"   

Class Methods

MercurialAdapter.client_command

#37 in lib/redmine/scm/adapters/mercurial_adapter.rb

client_command

MercurialAdapter.sq_bin

#41 in lib/redmine/scm/adapters/mercurial_adapter.rb

sq_bin

MercurialAdapter.client_version

#45 in lib/redmine/scm/adapters/mercurial_adapter.rb

client_version

MercurialAdapter.client_available

#49 in lib/redmine/scm/adapters/mercurial_adapter.rb

client_available

MercurialAdapter.hgversion

#53 in lib/redmine/scm/adapters/mercurial_adapter.rb

hgversion

MercurialAdapter.hgversion_from_command_line

#66 in lib/redmine/scm/adapters/mercurial_adapter.rb

hgversion_from_command_line

MercurialAdapter.template_path

#70 in lib/redmine/scm/adapters/mercurial_adapter.rb

template_path

MercurialAdapter.template_path_for / 1

#74 in lib/redmine/scm/adapters/mercurial_adapter.rb

template_path_for ( version )

Instance Methods

MercurialAdapter#initialize / 5

#79 in lib/redmine/scm/adapters/mercurial_adapter.rb

initialize ( url ,
  root_url=nil ,
  login=nil ,
  password=nil ,
  path_encoding=nil )

MercurialAdapter#path_encoding

#84 in lib/redmine/scm/adapters/mercurial_adapter.rb

path_encoding

MercurialAdapter#info

#88 in lib/redmine/scm/adapters/mercurial_adapter.rb

info

MercurialAdapter#tags

#99 in lib/redmine/scm/adapters/mercurial_adapter.rb

tags

MercurialAdapter#tagmap

#104 in lib/redmine/scm/adapters/mercurial_adapter.rb

tagmap

MercurialAdapter#branches

#111 in lib/redmine/scm/adapters/mercurial_adapter.rb

branches

MercurialAdapter#branchmap

#123 in lib/redmine/scm/adapters/mercurial_adapter.rb

branchmap

MercurialAdapter#summary

#130 in lib/redmine/scm/adapters/mercurial_adapter.rb

summary

MercurialAdapter#entries / 3

#145 in lib/redmine/scm/adapters/mercurial_adapter.rb

entries ( path=nil ,
  identifier=nil ,
  options={} )

MercurialAdapter#revisions / 4

#182 in lib/redmine/scm/adapters/mercurial_adapter.rb

revisions ( path=nil ,
  identifier_from=nil ,
  identifier_to=nil ,
  options={} )

MercurialAdapter#each_revision / 4

#190 in lib/redmine/scm/adapters/mercurial_adapter.rb

each_revision ( path=nil ,
  identifier_from=nil ,
  identifier_to=nil ,
  options={} )

MercurialAdapter#nodes_in_branch / 2

#236 in lib/redmine/scm/adapters/mercurial_adapter.rb

nodes_in_branch ( branch ,
  options={} )

MercurialAdapter#diff / 3

#244 in lib/redmine/scm/adapters/mercurial_adapter.rb

diff ( path ,
  identifier_from ,
  identifier_to=nil )

MercurialAdapter#cat / 2

#266 in lib/redmine/scm/adapters/mercurial_adapter.rb

cat ( path ,
  identifier=nil )

MercurialAdapter#annotate / 2

#276 in lib/redmine/scm/adapters/mercurial_adapter.rb

annotate ( path ,
  identifier=nil )

MercurialAdapter#hg / 2

#302 in lib/redmine/scm/adapters/mercurial_adapter.rb

hg ( *args ,
  &block )

MercurialAdapter#hgrev / 2

#320 in lib/redmine/scm/adapters/mercurial_adapter.rb

hgrev ( identifier ,
  sq=false )

MercurialAdapter#hgtarget / 1

#327 in lib/redmine/scm/adapters/mercurial_adapter.rb

hgtarget ( path )

MercurialAdapter#as_ary / 1

#333 in lib/redmine/scm/adapters/mercurial_adapter.rb

as_ary ( o )