code: func FindEqualRevisions(revisions []*apps.ControllerRevision, needle *apps.ControllerRevision) []*apps.ControllerRevision {
  	var eq []*apps.ControllerRevision
  	for i := range revisions {
  		if EqualRevision(revisions[i], needle) {
  			eq = append(eq, revisions[i])
  		}
  	}
  	return eq
  }
docs: // FindEqualRevisions returns all ControllerRevisions in revisions that are equal to needle using EqualRevision as the
  // equality test. The returned slice preserves the order of revisions.