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
Don't run lock with false -- don't run at all if nothing to lock (during 
import).
francois (author)
Tue Jun 03 11:00:52 -0700 2008
commit  40822724405aa31cb92dbbe5d7068808a8597eae
tree    7af124d6bc194ce88c698192f9e5a6afa09fd960
parent  91a2e89a6f694417d9e970d5df24ce0a948c38cb
...
107
108
109
110
111
112
113
114
115
 
116
117
118
...
107
108
109
 
 
 
 
 
 
110
111
112
113
0
@@ -107,12 +107,7 @@ Main {
0
                                              :quiet => params["quiet"].value,
0
                                              :force => params["force"].value,
0
                                              :dry_run => params["dry-run"].value)
0
- if params["lock"].value
0
- cmd.run(params["directory"].value, params["lock"].value)
0
- else
0
- cmd.run(params["directory"].value, false)
0
- end
0
-
0
+ cmd.run(params["directory"].value, params["lock"].value) if params["lock"].value
0
     end
0
   end
0
   

Comments

    No one has commented yet.