# File lib/fastcst/changeset.rb, line 519 519: def run(indata, dir) 520: UI.event :move, "#@from_path -> #@to_path" 521: begin 522: Dir.chdir dir do 523: ChangeSet.create_target_path(@to_path, test) 524: FileUtils.mv @from_path, @to_path, :force => true 525: File.utime(Time.now, @mtime, @to_path) 526: end 527: 528: skip(indata) # skip any data we need 529: rescue 530: UI.failure :move, "#{$!}" 531: return false 532: end 533: 534: return true 535: end