scm: subversion: remove trailing white-spaces from adapter source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5671 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6d75ac6560
commit
2db0475454
|
@ -1,16 +1,16 @@
|
||||||
# Redmine - project management software
|
# Redmine - project management software
|
||||||
# Copyright (C) 2006-2010 Jean-Philippe Lang
|
# Copyright (C) 2006-2011 Jean-Philippe Lang
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public License
|
# modify it under the terms of the GNU General Public License
|
||||||
# as published by the Free Software Foundation; either version 2
|
# as published by the Free Software Foundation; either version 2
|
||||||
# of the License, or (at your option) any later version.
|
# of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
@ -135,7 +135,7 @@ module Redmine
|
||||||
def properties(path, identifier=nil)
|
def properties(path, identifier=nil)
|
||||||
# proplist xml output supported in svn 1.5.0 and higher
|
# proplist xml output supported in svn 1.5.0 and higher
|
||||||
return nil unless self.class.client_version_above?([1, 5, 0])
|
return nil unless self.class.client_version_above?([1, 5, 0])
|
||||||
|
|
||||||
identifier = (identifier and identifier.to_i > 0) ? identifier.to_i : "HEAD"
|
identifier = (identifier and identifier.to_i > 0) ? identifier.to_i : "HEAD"
|
||||||
cmd = "#{self.class.sq_bin} proplist --verbose --xml #{target(path)}@#{identifier}"
|
cmd = "#{self.class.sq_bin} proplist --verbose --xml #{target(path)}@#{identifier}"
|
||||||
cmd << credentials_string
|
cmd << credentials_string
|
||||||
|
@ -184,7 +184,7 @@ module Redmine
|
||||||
}
|
}
|
||||||
end if logentry['paths'] && logentry['paths']['path']
|
end if logentry['paths'] && logentry['paths']['path']
|
||||||
paths.sort! { |x,y| x[:path] <=> y[:path] }
|
paths.sort! { |x,y| x[:path] <=> y[:path] }
|
||||||
|
|
||||||
revisions << Revision.new({:identifier => logentry['revision'],
|
revisions << Revision.new({:identifier => logentry['revision'],
|
||||||
:author => (logentry['author'] ? logentry['author']['__content__'] : ""),
|
:author => (logentry['author'] ? logentry['author']['__content__'] : ""),
|
||||||
:time => Time.parse(logentry['date']['__content__'].to_s).localtime,
|
:time => Time.parse(logentry['date']['__content__'].to_s).localtime,
|
||||||
|
|
Loading…
Reference in New Issue