9 for y in ['docmessages', 'docs', 'messages']
11 Dir.chdir("#{y}/extragear-multimedia")
13 puts "now in #{current}"
14 stableBranchDir = "/home/ian/work/l10n/stable_branch/#{current.gsub(/^#{root}\//,'').chomp}"
15 if not File.exist?(stableBranchDir) then
16 puts "oh noes, #{stableBranchDir} doesn't exist"
17 `svn mkdir #{stableBranchDir}`
18 puts "still doesn't exist" unless File.exist?(stableBranchDir)
20 Dir['*amarok*'].each { | file |
21 `svn remove #{stableBranchDir}/#{file}`
22 `svn copy #{file} #{stableBranchDir}`