public
Description: Piston is a utility that eases vendor branch management. This repository is a complete reimplementation of Piston to provide different backends, depending on the repositories and working copies you pistonize from.
Homepage: http://piston.rubyforge.org/
Clone URL: git://github.com/francois/piston.git
Search Repo:
When aborting, log a fatal level message, then abort.
francois (author)
Mon Mar 24 21:40:55 -0700 2008
commit  bb2402952f76706ca228eff31e81c02ee4b1c4a0
tree    5d863a46c12052d7a1c914ad17020bcc09b93259
parent  8f313fff36c3ba277653a4de168d40ff2697ac0b
...
21
22
23
24
 
 
 
 
25
26
27
...
21
22
23
 
24
25
26
27
28
29
30
0
@@ -21,7 +21,10 @@
0
 
0
         tmpdir = temp_dir_name(working_copy)
0
 
0
- abort("Path #{working_copy} already exists and --force not given. Aborting...") if working_copy.exist? && !force
0
+ if working_copy.exist? && !force then
0
+ logger.fatal "Path #{working_copy} already exists and --force not given. Aborting..."
0
+ abort
0
+ end
0
 
0
         begin
0
           logger.info {"Checking out the repository"}

Comments

    No one has commented yet.