##// END OF EJS Templates
scm: cvs: override annotate() in model....
Toshi MARUYAMA -
r5290:0a0819f81ee3
parent child
Show More
@@ -73,6 +73,15 class Repository::Cvs < Repository
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