The hydraulic servo system with timevarying and time-delay uncertain has been used as the research object, the repetitive control method has been proposed, the repetitive controller has been designed, and the simulation has carried on, so the simulation results have shown that the system output can track the given cycle reference signals very fast, the tracking error can converge to zero asymptotically very fast, which has illustrated fully that not only repetitive control can improve the system tracking accuracy, but also can improve the robustness of the system.