diff app/models/changeset.rb @ 36:de76cd3e8c8e cc-branches

* Probably abortive experiments in extracting the branch from Hg
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 20 Oct 2010 10:07:29 +0100
parents 9c6c72729d91
children
line wrap: on
line diff
--- a/app/models/changeset.rb	Fri Oct 01 15:33:14 2010 +0100
+++ b/app/models/changeset.rb	Wed Oct 20 10:07:29 2010 +0100
@@ -84,6 +84,10 @@
   def author
     user || committer.to_s.split('<').first
   end
+
+  def branch
+    "unknown"
+  end
   
   def before_create
     self.user = repository.find_committer_user(committer)