Mercurial > hg > soundsoftware-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
29:192d132064a5 | 36:de76cd3e8c8e |
---|---|
81 repository.project | 81 repository.project |
82 end | 82 end |
83 | 83 |
84 def author | 84 def author |
85 user || committer.to_s.split('<').first | 85 user || committer.to_s.split('<').first |
86 end | |
87 | |
88 def branch | |
89 "unknown" | |
86 end | 90 end |
87 | 91 |
88 def before_create | 92 def before_create |
89 self.user = repository.find_committer_user(committer) | 93 self.user = repository.find_committer_user(committer) |
90 end | 94 end |