(self, paths)
| 245 | self._cl = None |
| 246 | |
| 247 | def pre_build(self, paths): |
| 248 | if self._action == 'none': |
| 249 | return |
| 250 | logging.info(f'Checking out {len(paths)} files in Perforce') |
| 251 | self._p4('edit', paths) |
| 252 | |
| 253 | logging.debug('Creating new change list') |
| 254 | self._cl = self._create_cl() |
| 255 | logging.info(f'Created CL {self._cl}') |
| 256 | logging.debug(f'Moving files to CL {self._cl}') |
| 257 | self._p4('reopen', ['-c', self._cl] + paths) |
| 258 | |
| 259 | def submit(self, paths, success): |
| 260 | if self._action == 'none': |
no test coverage detected