lib/commands/commit.rb in dev-2.0.133 vs lib/commands/commit.rb in dev-2.0.134
- old
+ new
@@ -18,17 +18,17 @@
message=""
message=IO.read('commit.message').strip if File.exists?('commit.message')
if(!File.exists?('commit.message') || message.length==0)
if(defined?(REQUIRE_COMMIT_MESSAGE))
puts "commit.message required to perform commit"
- Command.reset_commit_message
+ Commit.reset_commit_message
raise "commit.message required to perform commit"
else
add 'svn commit -m"commit all"'
end
else
add 'svn commit --file commit.message'
- add "<%Command.reset_commit_message%>"
+ add "<%Commit.reset_commit_message%>"
#add "<%FileUtils.rm('commit.message')%>" if File.exists?('commit.message')
end
end
end
\ No newline at end of file