Repeat Performance

Repeat Performance is a 1947 American film noir crime (with fantasy elements) starring Louis Hayward and Joan Leslie. The film was released by Eagle-Lion Films, directed by Alfred L. Werker, and produced by Aubrey Schenck.
Plot.
On New Year's Eve 1946, a woman is standing over her dead husband with a gun in her hand. She panics and goes to her friends for help. While seeking help from her friends at a pair of parties, she wishes that she could live 1946 all over again.
Magically, because she wished exactly at the strike of midnight on New Year's, her wish is granted and she is transported back to the beginning of 1946 with her husband alive. She attempts to relive the year without making the mistakes she and her friends made throughout the year, but certain events repeat themselves nonetheless, leaving Sheila to question whether there really is such a thing as fate or not.
The story climaxes again on New Year's Eve, when through Sheila's interferences over the year, her husband becomes convinced that she's trying to destroy him. He violently confronts her. Her friend William, who believed in Sheila's foresight, shoots her husband with her gun.
Production.
The film changed the original story where the girl was the villain because it was felt Joan Leslie could not play a villain.
Remake.
This film was remade as the television film "Turn Back the Clock" (1989) directed by Larry Elikann. It featured Jere Burns, Wendy Kilbourne and original cast member Joan Leslie.