Hermione Granger never uses a spell to repair Harry's glasses in the books. Harry's glasses break multiple times—most notably when Draco Malfoy stomps them in Chamber of Secrets (Chapter 5, "The Whomping Willow")—but they're never fixed magically. Harry repairs them with tape or gets new ones.
The films occasionally add or change spells for visual storytelling. A "reparo" moment may exist in a movie scene (possibly Chamber of Secrets or Prisoner of Azkaban), but it's not canon to Rowling's text.
In the books: magic fixes bones (Brackium Emendo), noses (Episkey), and teeth—but not Harry's glasses. A small detail. A persistent myth.