(self, commit, shelved=False, shelved_cl=0)
| 3000 | return False |
| 3001 | |
| 3002 | def extractFilesFromCommit(self, commit, shelved=False, shelved_cl=0): |
| 3003 | files = [] |
| 3004 | fnum = 0 |
| 3005 | while "depotFile%s" % fnum in commit: |
| 3006 | path = commit["depotFile%s" % fnum] |
| 3007 | found = self.isPathWanted(decode_path(path)) |
| 3008 | if not found: |
| 3009 | fnum = fnum + 1 |
| 3010 | continue |
| 3011 | |
| 3012 | file = {} |
| 3013 | file["path"] = path |
| 3014 | file["rev"] = commit["rev%s" % fnum] |
| 3015 | file["action"] = commit["action%s" % fnum] |
| 3016 | file["type"] = commit["type%s" % fnum] |
| 3017 | if shelved: |
| 3018 | file["shelved_cl"] = int(shelved_cl) |
| 3019 | files.append(file) |
| 3020 | fnum = fnum + 1 |
| 3021 | return files |
| 3022 | |
| 3023 | def extractJobsFromCommit(self, commit): |
| 3024 | jobs = [] |
no test coverage detected