@@ -114,7 +114,7 module Redmine | |||
|
114 | 114 | |
|
115 | 115 | # Returns an Entries collection |
|
116 | 116 | # or nil if the given path doesn't exist in the repository |
|
117 | def entries(path=nil, identifier=nil) | |
|
117 | def entries(path=nil, identifier=nil, options={}) | |
|
118 | 118 | return nil |
|
119 | 119 | end |
|
120 | 120 |
@@ -78,7 +78,7 module Redmine | |||
|
78 | 78 | |
|
79 | 79 | # Returns an Entries collection |
|
80 | 80 | # or nil if the given path doesn't exist in the repository |
|
81 | def entries(path=nil, identifier=nil) | |
|
81 | def entries(path=nil, identifier=nil, options={}) | |
|
82 | 82 | path ||= '' |
|
83 | 83 | entries = Entries.new |
|
84 | 84 | cmd = "#{self.class.sq_bin} ls -v --show-ids" |
@@ -90,7 +90,7 module Redmine | |||
|
90 | 90 | # Returns an Entries collection |
|
91 | 91 | # or nil if the given path doesn't exist in the repository |
|
92 | 92 | # this method is used by the repository-browser (aka LIST) |
|
93 | def entries(path=nil, identifier=nil) | |
|
93 | def entries(path=nil, identifier=nil, options={}) | |
|
94 | 94 | logger.debug "<cvs> entries '#{path}' with identifier '#{identifier}'" |
|
95 | 95 | path_locale = scm_iconv(@path_encoding, 'UTF-8', path) |
|
96 | 96 | path_locale.force_encoding("ASCII-8BIT") if path_locale.respond_to?(:force_encoding) |
@@ -76,7 +76,7 module Redmine | |||
|
76 | 76 | |
|
77 | 77 | # Returns an Entries collection |
|
78 | 78 | # or nil if the given path doesn't exist in the repository |
|
79 | def entries(path=nil, identifier=nil) | |
|
79 | def entries(path=nil, identifier=nil, options={}) | |
|
80 | 80 | path_prefix = (path.blank? ? '' : "#{path}/") |
|
81 | 81 | if path.blank? |
|
82 | 82 | path = ( self.class.client_version_above?([2, 2, 0]) ? @url : '.' ) |
@@ -54,7 +54,7 module Redmine | |||
|
54 | 54 | return nil |
|
55 | 55 | end |
|
56 | 56 | |
|
57 | def entries(path="", identifier=nil) | |
|
57 | def entries(path="", identifier=nil, options={}) | |
|
58 | 58 | entries = Entries.new |
|
59 | 59 | trgt_utf8 = target(path) |
|
60 | 60 | trgt = scm_iconv(@path_encoding, 'UTF-8', trgt_utf8) |
@@ -106,7 +106,7 module Redmine | |||
|
106 | 106 | bras.include?('master') ? 'master' : bras.first |
|
107 | 107 | end |
|
108 | 108 | |
|
109 | def entries(path=nil, identifier=nil) | |
|
109 | def entries(path=nil, identifier=nil, options={}) | |
|
110 | 110 | path ||= '' |
|
111 | 111 | p = scm_iconv(@path_encoding, 'UTF-8', path) |
|
112 | 112 | entries = Entries.new |
@@ -132,7 +132,7 module Redmine | |||
|
132 | 132 | end |
|
133 | 133 | private :summary |
|
134 | 134 | |
|
135 | def entries(path=nil, identifier=nil) | |
|
135 | def entries(path=nil, identifier=nil, options={}) | |
|
136 | 136 | p1 = scm_iconv(@path_encoding, 'UTF-8', path) |
|
137 | 137 | manifest = hg('rhmanifest', '-r', CGI.escape(hgrev(identifier)), |
|
138 | 138 | CGI.escape(without_leading_slash(p1.to_s))) do |io| |
@@ -91,7 +91,7 module Redmine | |||
|
91 | 91 | |
|
92 | 92 | # Returns an Entries collection |
|
93 | 93 | # or nil if the given path doesn't exist in the repository |
|
94 | def entries(path=nil, identifier=nil) | |
|
94 | def entries(path=nil, identifier=nil, options={}) | |
|
95 | 95 | path ||= '' |
|
96 | 96 | identifier = (identifier and identifier.to_i > 0) ? identifier.to_i : "HEAD" |
|
97 | 97 | entries = Entries.new |
General Comments 0
You need to be logged in to leave comments.
Login now