# Returns an Entries collection
# or nil if the given path doesn't exist in the repository
- def entries(path=nil, identifier=nil)
+ def entries(path=nil, identifier=nil, options={})
return nil
end
# Returns an Entries collection
# or nil if the given path doesn't exist in the repository
- def entries(path=nil, identifier=nil)
+ def entries(path=nil, identifier=nil, options={})
path ||= ''
entries = Entries.new
cmd = "#{self.class.sq_bin} ls -v --show-ids"
# Returns an Entries collection
# or nil if the given path doesn't exist in the repository
# this method is used by the repository-browser (aka LIST)
- def entries(path=nil, identifier=nil)
+ def entries(path=nil, identifier=nil, options={})
logger.debug "<cvs> entries '#{path}' with identifier '#{identifier}'"
path_locale = scm_iconv(@path_encoding, 'UTF-8', path)
path_locale.force_encoding("ASCII-8BIT") if path_locale.respond_to?(:force_encoding)
# Returns an Entries collection
# or nil if the given path doesn't exist in the repository
- def entries(path=nil, identifier=nil)
+ def entries(path=nil, identifier=nil, options={})
path_prefix = (path.blank? ? '' : "#{path}/")
if path.blank?
path = ( self.class.client_version_above?([2, 2, 0]) ? @url : '.' )
return nil
end
- def entries(path="", identifier=nil)
+ def entries(path="", identifier=nil, options={})
entries = Entries.new
trgt_utf8 = target(path)
trgt = scm_iconv(@path_encoding, 'UTF-8', trgt_utf8)
bras.include?('master') ? 'master' : bras.first
end
- def entries(path=nil, identifier=nil)
+ def entries(path=nil, identifier=nil, options={})
path ||= ''
p = scm_iconv(@path_encoding, 'UTF-8', path)
entries = Entries.new
end
private :summary
- def entries(path=nil, identifier=nil)
+ def entries(path=nil, identifier=nil, options={})
p1 = scm_iconv(@path_encoding, 'UTF-8', path)
manifest = hg('rhmanifest', '-r', CGI.escape(hgrev(identifier)),
CGI.escape(without_leading_slash(p1.to_s))) do |io|
\r
# Returns an Entries collection\r
# or nil if the given path doesn't exist in the repository\r
- def entries(path=nil, identifier=nil)\r
+ def entries(path=nil, identifier=nil, options={})\r
path ||= ''\r
identifier = (identifier and identifier.to_i > 0) ? identifier.to_i : "HEAD"\r
entries = Entries.new\r