# Redmine - project management software\r
-# Copyright (C) 2006-2010 Jean-Philippe Lang\r
+# Copyright (C) 2006-2011 Jean-Philippe Lang\r
#\r
# This program is free software; you can redistribute it and/or\r
# modify it under the terms of the GNU General Public License\r
# as published by the Free Software Foundation; either version 2\r
# of the License, or (at your option) any later version.\r
-# \r
+#\r
# This program is distributed in the hope that it will be useful,\r
# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
# GNU General Public License for more details.\r
-# \r
+#\r
# You should have received a copy of the GNU General Public License\r
# along with this program; if not, write to the Free Software\r
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
def properties(path, identifier=nil)\r
# proplist xml output supported in svn 1.5.0 and higher\r
return nil unless self.class.client_version_above?([1, 5, 0])\r
- \r
+\r
identifier = (identifier and identifier.to_i > 0) ? identifier.to_i : "HEAD"\r
cmd = "#{self.class.sq_bin} proplist --verbose --xml #{target(path)}@#{identifier}"\r
cmd << credentials_string\r
}\r
end if logentry['paths'] && logentry['paths']['path']\r
paths.sort! { |x,y| x[:path] <=> y[:path] }\r
- \r
+\r
revisions << Revision.new({:identifier => logentry['revision'],\r
:author => (logentry['author'] ? logentry['author']['__content__'] : ""),\r
:time => Time.parse(logentry['date']['__content__'].to_s).localtime,\r