Commits

Anonymous committed b5f9c05

removed file logging from commit

  • Participants
  • Parent commits 5ee2d03

Comments (0)

Files changed (1)

lib/amp/commands/commands/workflows/hg/commit.rb

     
     changes = calculate_dirstate_commit(repo, files, match)
     opts[:modified], opts[:removed] = (changes[:modified] + changes[:added]), changes[:removed]
-    File.open("/log.txt","a") {|f| f.puts "committing: #{opts.inspect} #{args.inspect} #{changes.inspect}\n"}
     repo.commit opts
   end
   
     # Forces a status check - kinda nice, actually.
     full_status = repo.status
     if files.any?
-      changes = {:modified => [], :removed => []}
+      changes = {:modified => [], :removed => [], :added => []}
       # split the files up so we can deal with them appropriately
       files.each do |file|
         p file, repo.staging_area.file_status(file)