@@ -65,7 +65,11 class Repository::Cvs < Repository | |||
|
65 | 65 | end |
|
66 | 66 | |
|
67 | 67 | def cat(path, identifier=nil) |
|
68 | rev = identifier.nil? ? nil : changesets.find_by_revision(identifier) | |
|
68 | rev = nil | |
|
69 | if ! identifier.nil? | |
|
70 | rev = changesets.find_by_revision(identifier) | |
|
71 | return nil if rev.nil? | |
|
72 | end | |
|
69 | 73 | scm.cat(path, rev.nil? ? nil : rev.committed_on) |
|
70 | 74 | end |
|
71 | 75 |
General Comments 0
You need to be logged in to leave comments.
Login now