Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 24
- Log:
Initial import of Collaboa 0.5.6 from downloaded Tarball. Collaboa is
a Ruby On Rails based bug tracker and SVN repository browsing tool.
- Author:
- adh
- Date:
- Mon Jul 24 21:54:39 +0100 2006
- Size:
- 507 Bytes
1 | class Change < ActiveRecord::Base |
2 | belongs_to :changeset |
3 | |
4 | def unified_diff |
5 | node = Repository.repos.get_node(self.path, self.revision) |
6 | #if node.mime_type.match(/^text/) |
7 | #Repository.unified_diff(self.path, self.revision) |
8 | node.udiff_with_revision(self.revision - 1) |
9 | #end |
10 | end |
11 | |
12 | def diffable? |
13 | node = Repository.repos.get_node(self.path, self.revision) |
14 | if self.name == 'M' && node.mime_type.match(/^text/) |
15 | return true |
16 | else |
17 | return false |
18 | end |
19 | end |
20 | end |