From b2e4dbca6f68c3da56e7cfb288c020da0d8836ad Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 18 Feb 2011 07:14:32 +0000 Subject: [PATCH] scm: mercurial: temporary disable tags and branches at model (#1981, #7246, #4455). Until latest_changesets supports tags and branches. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4871 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/repository/mercurial.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/models/repository/mercurial.rb b/app/models/repository/mercurial.rb index d7f58fcd19..010e3ab66d 100644 --- a/app/models/repository/mercurial.rb +++ b/app/models/repository/mercurial.rb @@ -44,6 +44,14 @@ class Repository::Mercurial < Repository changeset.scmid end + def branches + nil + end + + def tags + nil + end + def diff_format_revisions(cs, cs_to, sep=':') super(cs, cs_to, ' ') end