|
From: <jh...@us...> - 2012-04-30 01:44:38
|
Revision: 336
http://etch.svn.sourceforge.net/etch/?rev=336&view=rev
Author: jheiss
Date: 2012-04-30 01:44:32 +0000 (Mon, 30 Apr 2012)
Log Message:
-----------
Remove the calls to unlock_all_files when the user selects quit in
interactive mode. Unlocking will naturally occur as the stack of
process_file and process_command calls unwinds. Fixes ticket:21
Modified Paths:
--------------
trunk/client/lib/etch/client.rb
Modified: trunk/client/lib/etch/client.rb
===================================================================
--- trunk/client/lib/etch/client.rb 2012-04-30 01:02:58 UTC (rev 335)
+++ trunk/client/lib/etch/client.rb 2012-04-30 01:44:32 UTC (rev 336)
@@ -839,7 +839,6 @@
save_results = false
throw :process_done
when CONFIRM_QUIT
- unlock_all_files
continue_processing = false
save_results = false
throw :process_done
@@ -1104,7 +1103,6 @@
save_results = false
throw :process_done
when CONFIRM_QUIT
- unlock_all_files
continue_processing = false
save_results = false
throw :process_done
@@ -1284,7 +1282,6 @@
save_results = false
throw :process_done
when CONFIRM_QUIT
- unlock_all_files
continue_processing = false
save_results = false
throw :process_done
@@ -1409,7 +1406,6 @@
save_results = false
throw :process_done
when CONFIRM_QUIT
- unlock_all_files
continue_processing = false
save_results = false
throw :process_done
@@ -1616,7 +1612,6 @@
save_results = false
throw :process_done
when CONFIRM_QUIT
- unlock_all_files
continue_processing = false
save_results = false
throw :process_done
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|