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
Prevent warnings about redefining LOG_DIR in test/test_helper.rb
francois (author)
Fri May 09 07:58:57 -0700 2008
commit  da70714a4de856af57d21e6151aec8efde35943b
tree    b9bc114e6e08db85ee914d967ffefd0b8650aa69
parent  b80cabf5918ba3dc3451e13ab9bdc808f935353d
...
31
32
33
34
 
35
36
37
...
31
32
33
 
34
35
36
37
0
@@ -31,7 +31,7 @@ module Test
0
   end
0
 end
0
 
0
-LOG_DIR = Pathname.new(File.dirname(__FILE__) + "/../log")
0
+LOG_DIR = Pathname.new(File.dirname(__FILE__) + "/../log") unless Object::const_defined?(:LOG_DIR)
0
 LOG_DIR.mkdir rescue nil
0
 
0
 Log4r::Logger.root.level = Log4r::DEBUG

Comments

    No one has commented yet.