Skip to content

Commit

Permalink
Merged r3571 from trunk.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3648 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
jplang committed Apr 11, 2010
1 parent f92aa00 commit 53880a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions extra/svn/reposman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,14 @@ def other_read_right?(file)
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)
Expand Down Expand Up @@ -303,4 +307,4 @@ def owner_name(file)
end

end

0 comments on commit 53880a4

Please sign in to comment.