From: <jh...@us...> - 2010-01-20 23:55:32
|
Revision: 193 http://etch.svn.sourceforge.net/etch/?rev=193&view=rev Author: jheiss Date: 2010-01-20 23:55:26 +0000 (Wed, 20 Jan 2010) Log Message: ----------- Minor change in save_history to eliminate excess useless warnings. Remove executable flag from etchclient.rb. I think that's a leftover from the distant past. Modified Paths: -------------- trunk/client/etchclient.rb Property Changed: ---------------- trunk/client/etchclient.rb Modified: trunk/client/etchclient.rb =================================================================== --- trunk/client/etchclient.rb 2010-01-20 23:05:05 UTC (rev 192) +++ trunk/client/etchclient.rb 2010-01-20 23:55:26 UTC (rev 193) @@ -1771,7 +1771,9 @@ newcurrent = current+'.new' if File.file?(file) && !File.symlink?(file) puts "Updating history log: #{file} -> #{current}" - remove_file(newcurrent) + if File.exist?(newcurrent) + remove_file(newcurrent) + end FileUtils.copy(file, newcurrent) if (!@dryrun) else puts "Updating history log with 'ls -ld' output: #{file} -> #{current}" Property changes on: trunk/client/etchclient.rb ___________________________________________________________________ Deleted: svn:executable - * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |