]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: temporary disable tags and branches at model (#1981, #7246, #4455).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 18 Feb 2011 07:14:32 +0000 (07:14 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 18 Feb 2011 07:14:32 +0000 (07:14 +0000)
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

index d7f58fcd193cf21971b110b7e4b0b08f6efe69d2..010e3ab66d052315710594d00b47217ba5a224a4 100644 (file)
@@ -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