summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/repository/mercurial.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/models/repository/mercurial.rb b/app/models/repository/mercurial.rb
index cafc74bd3..1a5fd4b1e 100644
--- a/app/models/repository/mercurial.rb
+++ b/app/models/repository/mercurial.rb
@@ -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?