When judgment upon a conviction is rendered, the clerk must enter the judgment in the minutes, stating briefly the offense for which the conviction was had, and the fact of a prior conviction, if any. A copy of the judgment of conviction shall be filed with the papers in the case.
Ca. Pen. Code § 1207