##// END OF EJS Templates
scm: set supporting directory revisions or not at scm level....
Toshi MARUYAMA -
r5024:bae1763a09ae
parent child
Show More
@@ -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
@@ -41,6 +41,10 class Repository::Mercurial < Repository
41 'Mercurial'
41 'Mercurial'
42 end
42 end
43
43
44 def supports_directory_revisions?
45 true
46 end
47
44 def repo_log_encoding
48 def repo_log_encoding
45 'UTF-8'
49 'UTF-8'
46 end
50 end
@@ -30,6 +30,10 class Repository::Subversion < Repository
30 'Subversion'
30 'Subversion'
31 end
31 end
32
32
33 def supports_directory_revisions?
34 true
35 end
36
33 def repo_log_encoding
37 def repo_log_encoding
34 'UTF-8'
38 'UTF-8'
35 end
39 end
General Comments 0
You need to be logged in to leave comments. Login now