forked from perforce/sonar-scm-perforce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use p4 filelog and p4 annotate first, then get changelist
In order to try to optimize the blame process for a file in Perforce, first run filelog which usually returns all revisions, then run annotate. If we then encounter a changelist we don't know, attempt to look it up. If that fails, too, fail gracefully.
- Loading branch information
Showing
2 changed files
with
116 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters