Changeset 571 in tailor
- Timestamp:
- 08/15/05 15:53:22 (8 years ago)
- Hash name:
- 20050815135322-97f81-049ce67302cc815d011f4074aa1425ad8810c29d
- Location:
- vcpx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
vcpx/cvsps.py
r566 r571 227 227 retry = 0 228 228 while True: 229 cvsup.execute(e.name , stdout=PIPE)229 cvsup.execute(e.name) 230 230 231 231 if cvsup.exit_status: -
vcpx/darcs.py
r559 r571 270 270 command=[self.repository.DARCS_CMD, 271 271 "initialize"]) 272 init.execute( stdout=PIPE)272 init.execute() 273 273 274 274 if init.exit_status: … … 359 359 360 360 record = ExternalCommand(cwd=self.basedir, command=cmd) 361 record.execute(entries, input='\n'.join(logmessage) , stdout=PIPE)361 record.execute(entries, input='\n'.join(logmessage)) 362 362 363 363 if record.exit_status: … … 424 424 command=[self.repository.DARCS_CMD, 425 425 "initialize"]) 426 init.execute( stdout=PIPE)426 init.execute() 427 427 428 428 if init.exit_status: -
vcpx/svn.py
r547 r571 415 415 cmd = [self.repository.SVN_CMD, "info"] 416 416 svninfo = ExternalCommand(command=cmd) 417 svninfo.execute(self.repository.repository , stdout=PIPE, stderr=STDOUT)417 svninfo.execute(self.repository.repository) 418 418 419 419 if svninfo.exit_status: -
vcpx/shwrap.py
r568 r571 116 116 117 117 from sys import stderr, getdefaultencoding 118 from os import environ118 import os 119 119 from cStringIO import StringIO 120 120 … … 138 138 if not kwargs.has_key('env'): 139 139 env = kwargs['env'] = {} 140 env.update( environ)140 env.update(os.environ) 141 141 142 142 for v in ['LANG', 'TZ', 'PATH']: … … 145 145 146 146 input = kwargs.get('input') 147 147 output = kwargs.get('stdout') 148 error = kwargs.get('stderr') 149 devnull = getattr(os, 'devnull', '/dev/null') 150 if output is None: 151 output = open(devnull, 'w') 152 if error is None: 153 error = open(devnull, 'w') 148 154 try: 149 155 process = Popen(self._last_command, 150 156 stdin=input and PIPE or None, 151 stdout= kwargs.get('stdout'),152 stderr= kwargs.get('stderr'),157 stdout=output, 158 stderr=error, 153 159 env=kwargs.get('env'), 154 160 cwd=kwargs.get('cwd'),
Note: See TracChangeset
for help on using the changeset viewer.
