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:
Pulled WorkingCopy#remember to Piston::WorkingCopy.
francois (author)
Sun Mar 16 19:42:09 -0700 2008
commit  9b7391c8f907342387fff51aef4f020f1065ae85
tree    b1d6ef56e74ca7204bd842e5e73e20fc1c5f7deb
parent  f6b01d6b0ecccb76bdc97a7cbfc88304de652b0d
...
49
50
51
52
53
54
55
56
57
58
59
60
...
49
50
51
 
 
 
 
 
 
52
53
54
0
@@ -49,12 +49,6 @@
0
         end
0
       end
0
 
0
- def remember(values)
0
- File.open(path + ".piston.yml", "wb") do |f|
0
- f.write({"format" => 1, "handler" => values}.to_yaml)
0
- end
0
- end
0
-
0
       def finalize
0
         Dir.chdir(path) { git(:add, ".") }
0
       end
...
45
46
47
48
49
50
51
52
53
54
55
56
...
45
46
47
 
 
 
 
 
 
48
49
50
0
@@ -45,12 +45,6 @@
0
         end
0
       end
0
 
0
- def remember(values)
0
- File.open(path + ".piston.yml", "wb") do |f|
0
- f.write({"format" => 1, "handler" => values}.to_yaml)
0
- end
0
- end
0
-
0
       def recall(keys)
0
         hash = Hash.new
0
         keys.each do |k|
...
71
72
73
74
 
 
 
75
76
77
...
71
72
73
 
74
75
76
77
78
79
0
@@ -71,7 +71,9 @@
0
 
0
     # Stores a Hash of values that can be retrieved later.
0
     def remember(values)
0
- logger.debug {"Remembering #{values.inspect}"}
0
+ File.open(path + ".piston.yml", "wb") do |f|
0
+ f.write({"format" => 1, "handler" => values}.to_yaml)
0
+ end
0
     end
0
 
0
     # Recalls a Hash of values from the working copy.

Comments

    No one has commented yet.