Mercurial > hg > soundsoftware-site
comparison lib/redmine/scm/adapters/mercurial_adapter.rb @ 210:0579821a129a
Update to Redmine trunk rev 4802
author | Chris Cannam |
---|---|
date | Tue, 08 Feb 2011 13:51:46 +0000 |
parents | 8661b858af72 |
children | 051f544170fe |
comparison
equal
deleted
inserted
replaced
128:07fa8a8b56a8 | 210:0579821a129a |
---|---|
22 module Scm | 22 module Scm |
23 module Adapters | 23 module Adapters |
24 class MercurialAdapter < AbstractAdapter | 24 class MercurialAdapter < AbstractAdapter |
25 | 25 |
26 # Mercurial executable name | 26 # Mercurial executable name |
27 HG_BIN = "hg" | 27 HG_BIN = Redmine::Configuration['scm_mercurial_command'] || "hg" |
28 TEMPLATES_DIR = File.dirname(__FILE__) + "/mercurial" | 28 TEMPLATES_DIR = File.dirname(__FILE__) + "/mercurial" |
29 TEMPLATE_NAME = "hg-template" | 29 TEMPLATE_NAME = "hg-template" |
30 TEMPLATE_EXTENSION = "tmpl" | 30 TEMPLATE_EXTENSION = "tmpl" |
31 | 31 |
32 class << self | 32 class << self |