scm: mercurial: override entry and scm_entries (#14361)

git-svn-id: http://svn.redmine.org/redmine/trunk@12759 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-02 04:44:04 +00:00
parent 07d7b47ddc
commit eb18660369
1 changed files with 9 additions and 0 deletions

View File

@ -71,6 +71,15 @@ class Repository::Mercurial < Repository
super(cs, cs_to, ' ')
end
def entry(path=nil, identifier=nil)
scm.entry(path, identifier)
end
def scm_entries(path=nil, identifier=nil)
scm.entries(path, identifier)
end
protected :scm_entries
# Finds and returns a revision with a number or the beginning of a hash
def find_changeset_by_name(name)
return nil if name.blank?