diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-02-18 07:14:32 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-02-18 07:14:32 +0000 |
commit | 0247a149c43cb88b2ba16151dd8b2b9842dd27ad (patch) | |
tree | e90b1d4e018ad759dc64c55c1a59688324a8cfe5 /app/models/repository/mercurial.rb | |
parent | 0b19757303e1b12d33f48148f9032083d14e0839 (diff) | |
download | redmine-0247a149c43cb88b2ba16151dd8b2b9842dd27ad.tar.gz redmine-0247a149c43cb88b2ba16151dd8b2b9842dd27ad.zip |
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
Diffstat (limited to 'app/models/repository/mercurial.rb')
-rw-r--r-- | app/models/repository/mercurial.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/repository/mercurial.rb b/app/models/repository/mercurial.rb index d7f58fcd1..010e3ab66 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 |