@@ -73,6 +73,15 class Repository::Cvs < Repository | |||
|
73 | 73 | scm.cat(path, rev.nil? ? nil : rev.committed_on) |
|
74 | 74 | end |
|
75 | 75 | |
|
76 | def annotate(path, identifier=nil) | |
|
77 | rev = nil | |
|
78 | if ! identifier.nil? | |
|
79 | rev = changesets.find_by_revision(identifier) | |
|
80 | return nil if rev.nil? | |
|
81 | end | |
|
82 | scm.annotate(path, rev.nil? ? nil : rev.committed_on) | |
|
83 | end | |
|
84 | ||
|
76 | 85 | def diff(path, rev, rev_to) |
|
77 | 86 | # convert rev to revision. CVS can't handle changesets here |
|
78 | 87 | diff=[] |
General Comments 0
You need to be logged in to leave comments.
Login now