| 582 | } |
| 583 | |
| 584 | void PerforcePlugin::parseP4DiffOutput(DVcsJob* job) |
| 585 | { |
| 586 | VcsDiff diff; |
| 587 | diff.setDiff(job->output()); |
| 588 | QDir dir(job->directory()); |
| 589 | |
| 590 | do { |
| 591 | if (dir.exists(m_perforceConfigName)) { |
| 592 | break; |
| 593 | } |
| 594 | } while (dir.cdUp()); |
| 595 | |
| 596 | diff.setBaseDiff(QUrl::fromLocalFile(dir.absolutePath())); |
| 597 | |
| 598 | job->setResults(QVariant::fromValue(diff)); |
| 599 | } |
| 600 | |
| 601 | void PerforcePlugin::parseP4AnnotateOutput(DVcsJob *job) |
| 602 | { |
nothing calls this directly
no test coverage detected