code: public MaterialRevisions getRevisionsBasedOnDependencies(PipelineConfigDependencyGraph graph, MaterialRevisions actualRevisions) {
          MaterialRevisions computedRevisions = new MaterialRevisions();
          overrideCommonMaterialRevisions(graph, actualRevisions, computedRevisions);
          copyMissingRevisions(actualRevisions, computedRevisions);
          return restoreOriginalOrder(actualRevisions, computedRevisions);
      }
docs: /* TRIANGLE BEGIN