ajack       2004/06/03 12:28:14

  Modified:    python/gump/core commandLine.py
               python/gump/utils xmlutils.py
               python/gump/update cvs.py
  Log:
  Tweaks to debug.
  
  Revision  Changes    Path
  1.9       +6 -6      gump/python/gump/core/commandLine.py
  
  Index: commandLine.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/core/commandLine.py,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- commandLine.py    3 Jun 2004 19:06:12 -0000       1.8
  +++ commandLine.py    3 Jun 2004 19:28:13 -0000       1.9
  @@ -149,12 +149,12 @@
                           self.args.append(arg)
                       removers.append(arg)        
               else:
  -                banner()
  -                print
  -                print " No project specified, please supply a comma separated list 
of project expressions or 'all'."
  -                print " Project wildcards are accepted, e.g. \"jakarta-*\"."
  -                sys.exit(1)
  -    
  +                #banner()
  +                #print
  +                #print " No project specified, please supply a comma separated list 
of project expressions or 'all'."
  +                #print " Project wildcards are accepted, e.g. \"jakarta-*\"."
  +                #sys.exit(1)
  +                self.args.append('*')
                
           # Remove 
           for arg in removers:
  
  
  
  1.17      +1 -1      gump/python/gump/utils/xmlutils.py
  
  Index: xmlutils.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/utils/xmlutils.py,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- xmlutils.py       3 Jun 2004 19:06:12 -0000       1.16
  +++ xmlutils.py       3 Jun 2004 19:28:13 -0000       1.17
  @@ -83,7 +83,7 @@
               else:
                   self.addError(message)
                   
  -            # log.warn('Failed to parse XML : ' + message, exc_info=1)
  +            log.warn('Failed to parse XML : ' + message, exc_info=1)
               
       self.elementStack.append(self.topOfStack)
   
  
  
  
  1.5       +7 -6      gump/python/gump/update/cvs.py
  
  Index: cvs.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/update/cvs.py,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- cvs.py    3 Jun 2004 19:06:12 -0000       1.4
  +++ cvs.py    3 Jun 2004 19:28:13 -0000       1.5
  @@ -106,6 +106,11 @@
           #  Get the Update Command
           (repository, root, cmd ) = self.getUpdateCommand(module, exists)
                   
  +        log.debug("CVS Update Module " + module.getName() + \
  +                       ", Repository Name: " + str(module.repository.getName()))
  +                                        
  +        log.debug("CVS Root " + root + " on Repository: " + 
module.repository.getName())
  +        
           # Provide CVS logins, if not already there
           loginToRepositoryOnDemand(repository,root,self.logins)
                  
  @@ -163,14 +168,10 @@
           """
           
           if nowork and not exists:
  -            raise RuntimeException('Not coded for this combo.')
  -            
  -        log.debug("CVS Update Module " + module.getName() + \
  -                       ", Repository Name: " + str(module.repository.getName()))
  -                                        
  +            raise RuntimeException('Not coded for this combo.')            
  +        
           root=module.cvs.getCvsRoot()
         
  -        log.debug("CVS Root " + root + " on Repository: " + 
module.repository.getName())
        
           #
           # Prepare CVS checkout/update command...
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to