@@ -63,7 +63,7 class Repository::Cvs < Repository | |||||
63 | end |
|
63 | end | |
64 | entries |
|
64 | entries | |
65 | end |
|
65 | end | |
66 |
|
66 | |||
67 | def cat(path, identifier=nil) |
|
67 | def cat(path, identifier=nil) | |
68 | rev = nil |
|
68 | rev = nil | |
69 | if ! identifier.nil? |
|
69 | if ! identifier.nil? | |
@@ -72,7 +72,16 class Repository::Cvs < Repository | |||||
72 | end |
|
72 | end | |
73 | scm.cat(path, rev.nil? ? nil : rev.committed_on) |
|
73 | scm.cat(path, rev.nil? ? nil : rev.committed_on) | |
74 | end |
|
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 | def diff(path, rev, rev_to) |
|
85 | def diff(path, rev, rev_to) | |
77 | # convert rev to revision. CVS can't handle changesets here |
|
86 | # convert rev to revision. CVS can't handle changesets here | |
78 | diff=[] |
|
87 | diff=[] |
General Comments 0
You need to be logged in to leave comments.
Login now