You can ensure continuous timecode by recording timecode onto the tape before you use it. This process is called striping the tape. Striping is not necessary if you follow recommended shooting practices, but it can protect you from accidentally breaking timecode by miscuing a tape in your camera.
Stripe a tape with timecode
Replace DV timecode