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:
Normalized logging levels in a couple different places.
francois (author)
Mon Mar 24 21:24:01 -0700 2008
commit  4ec5480ba75b303f479998b60e174b6721fd9796
tree    7be1ccb74a0642dc778f77027fd26bbcb9d5d5d0
parent  479e742f0b8fe0920abc85c2cccdfac774c910cf
...
10
11
12
13
 
14
15
16
...
43
44
45
46
 
47
48
49
...
10
11
12
 
13
14
15
16
...
43
44
45
 
46
47
48
49
0
@@ -10,7 +10,7 @@
0
       end
0
 
0
       def guess(url)
0
- logger.debug {"Guessing the repository type of #{url.inspect}"}
0
+ logger.info {"Guessing the repository type of #{url.inspect}"}
0
 
0
         handler = handlers.detect do |handler|
0
           logger.debug {"Asking #{handler}"}
0
@@ -43,7 +43,7 @@
0
     end
0
 
0
     def at(revision)
0
- logger.debug {"Targeting #{self} at #{revision.inspect}"}
0
+ logger.info {"Targeting #{self} at #{revision.inspect}"}
0
       Piston::Revision.new(self, revision)
0
     end
0
 
...
9
10
11
12
 
13
14
15
...
9
10
11
 
12
13
14
15
0
@@ -9,7 +9,7 @@
0
 
0
       def guess(path)
0
         path = path.kind_of?(Pathname) ? path : Pathname.new(path.to_s)
0
- logger.debug {"Guessing the working copy type of #{path.inspect}"}
0
+ logger.info {"Guessing the working copy type of #{path.inspect}"}
0
         handler = handlers.detect do |handler|
0
           logger.debug {"Asking #{handler.name} if it understands #{path}"}
0
           handler.understands_dir?(path)
...
1
2
 
 
 
 
3
4
5
...
1
2
3
4
5
6
7
8
9
0
@@ -1,5 +1,9 @@
0
 PISTON_ROOT = Pathname.new(File.dirname(__FILE__)).parent.realpath
0
 
0
+def logger
0
+ @logger ||= Log4r::Logger["test"]
0
+end
0
+
0
 def runcmd(cmd, *args)
0
   cmdline = [cmd]
0
   cmdline += args

Comments

    No one has commented yet.