@@ -42,7 +42,11 class Repository::Darcs < Repository | |||
|
42 | 42 | end |
|
43 | 43 | |
|
44 | 44 | def entries(path=nil, identifier=nil) |
|
45 | patch = identifier.nil? ? nil : changesets.find_by_revision(identifier) | |
|
45 | patch = nil | |
|
46 | if ! identifier.nil? | |
|
47 | patch = changesets.find_by_revision(identifier) | |
|
48 | return nil if patch.nil? | |
|
49 | end | |
|
46 | 50 | entries = scm.entries(path, patch.nil? ? nil : patch.scmid) |
|
47 | 51 | if entries |
|
48 | 52 | entries.each do |entry| |
General Comments 0
You need to be logged in to leave comments.
Login now