##// END OF EJS Templates
scm: cvs: override annotate() in model....
Toshi MARUYAMA -
r5290:0a0819f81ee3
parent child
Show More
@@ -63,7 +63,7 class Repository::Cvs < Repository
63 63 end
64 64 entries
65 65 end
66
66
67 67 def cat(path, identifier=nil)
68 68 rev = nil
69 69 if ! identifier.nil?
@@ -72,7 +72,16 class Repository::Cvs < Repository
72 72 end
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