Stargate: Continuum

Ba'al travels back in time and prevents the Stargate program from being started. SG-1 must somehow restore history.
History may never repeat itself again.