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:
Create a temp variable for the piston.yml path in 
Piston::WorkingCopy#remember.
francois (author)
Sat Mar 22 19:01:16 -0700 2008
commit  986f477aed67a5c7422380c8d308708581c8d0de
tree    758460993a667610f82d55d71f490bfe44c258cc
parent  b6511e48f77789ea3718cd82492c1a09de7dccff
...
77
78
79
80
 
 
 
81
82
83
84
 
 
85
86
87
...
77
78
79
 
80
81
82
83
84
85
 
86
87
88
89
90
0
@@ -77,11 +77,14 @@
0
 
0
     # Stores a Hash of values that can be retrieved later.
0
     def remember(values)
0
- File.open(path + ".piston.yml", "wb") do |f|
0
+ logger.debug {"Remembering #{values.inspect}"}
0
+ yaml_path = path + ".piston.yml"
0
+ File.open(yaml_path, "wb") do |f|
0
         f.write({"format" => 1, "handler" => values}.to_yaml)
0
       end
0
 
0
- after_remember(path + ".piston.yml")
0
+ logger.debug {"Calling \#after_remember on #{yaml_path}"}
0
+ after_remember(yaml_path)
0
     end
0
 
0
     # Callback after #remember is done, to do whatever the

Comments

    No one has commented yet.