@@ -75,6 +75,10 class Repository < ActiveRecord::Base | |||||
75 | true |
|
75 | true | |
76 | end |
|
76 | end | |
77 |
|
77 | |||
|
78 | def supports_directory_revisions? | |||
|
79 | false | |||
|
80 | end | |||
|
81 | ||||
78 | def entry(path=nil, identifier=nil) |
|
82 | def entry(path=nil, identifier=nil) | |
79 | scm.entry(path, identifier) |
|
83 | scm.entry(path, identifier) | |
80 | end |
|
84 | end |
@@ -36,6 +36,10 class Repository::Git < Repository | |||||
36 | 'Git' |
|
36 | 'Git' | |
37 | end |
|
37 | end | |
38 |
|
38 | |||
|
39 | def supports_directory_revisions? | |||
|
40 | true | |||
|
41 | end | |||
|
42 | ||||
39 | def repo_log_encoding |
|
43 | def repo_log_encoding | |
40 | 'UTF-8' |
|
44 | 'UTF-8' | |
41 | end |
|
45 | end |
General Comments 0
You need to be logged in to leave comments.
Login now