Mercurial > hg > soundsoftware-site
comparison lib/redmine/scm/adapters/bazaar_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 |
---|---|
21 module Scm | 21 module Scm |
22 module Adapters | 22 module Adapters |
23 class BazaarAdapter < AbstractAdapter | 23 class BazaarAdapter < AbstractAdapter |
24 | 24 |
25 # Bazaar executable name | 25 # Bazaar executable name |
26 BZR_BIN = "bzr" | 26 BZR_BIN = Redmine::Configuration['scm_bazaar_command'] || "bzr" |
27 | 27 |
28 # Get info about the repository | 28 # Get info about the repository |
29 def info | 29 def info |
30 cmd = "#{BZR_BIN} revno #{target('')}" | 30 cmd = "#{BZR_BIN} revno #{target('')}" |
31 info = nil | 31 info = nil |