git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3648
e93f8b46-1217-0410-a6f0-
8f06a7374b81
end
def owner_name(file)
- RUBY_PLATFORM =~ /mswin/ ?
+ mswin? ?
$svn_owner :
Etc.getpwuid( File.stat(file).uid ).name
end
+
+def mswin?
+ (RUBY_PLATFORM =~ /(:?mswin|mingw)/) || (RUBY_PLATFORM == 'java' && (ENV['OS'] || ENV['os']) =~ /windows/i)
+end
projects.each do |project|
log("treating project #{project.name}", :level => 1)
end
end
-
+
\ No newline at end of file