gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump gumpy.py
Date Mon, 01 Mar 2004 21:46:52 GMT
ajack       2004/03/01 13:46:52

  Modified:    .        gumpy.py
  Log:
  Trying to get this working in a real Gump...
  
  Revision  Changes    Path
  1.5       +9 -6      gump/gumpy.py
  
  Index: gumpy.py
  ===================================================================
  RCS file: /home/cvs/gump/gumpy.py,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- gumpy.py	1 Mar 2004 21:35:31 -0000	1.4
  +++ gumpy.py	1 Mar 2004 21:46:52 -0000	1.5
  @@ -118,9 +118,9 @@
               #
               # The return code (from system = from wait) is (on Unix):
               #
  -            #	a 16 bit number
  -            #	top byte	=	exit status
  -            #	low byte	=	signal that killed it
  +            #    a 16 bit number
  +            #    top byte    =    exit status
  +            #    low byte    =    signal that killed it
               #
               exit_code=(((waitcode & 0xFF00) >> 8) & 0xFF)
           
  @@ -265,9 +265,12 @@
   
           #
           # Update Gump from CVS
  -        #	
  +        #    
           cvsExit = 0
           if not os.environ.has_key('GUMP_NO_CVS_UPDATE'):
  +            cvsroot=':pserver:anoncvs@cvs.apache.org:/home/cvspublic'
  +            os.environ['CVSROOT']=cvsroot
  +            # :TODO: ??? delete os.environ['CVS_RSH']
               cvsExit = runCommand('cvs -q update -dP')
           else:
               log.write('CVS update skipped per environment setting.\n')
  @@ -289,7 +292,7 @@
                   if args: args += ' '
                   args += arg    
           
  -            iargs = '-w ' + workspaceName + ' ' + projectsExpr + args
  +            iargs = '-w ../' + workspaceName + ' ' + projectsExpr + args
     
               #
               # Run the main Gump...
  @@ -331,4 +334,4 @@
               sendEmail(mailto,mailfrom,logTitle,logData,mailserver,mailport)
   
   # bye!
  -sys.exit(result)
  \ No newline at end of file
  +sys.exit(result)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message