From: Alexandre T. <kt...@fr...> - 2003-03-17 11:53:40
|
Le samedi, 15 mar 2003, =E0 14:25 Europe/Paris, Grzegorz Jakacki a =E9cri= t : > Alexandre Tolmos writes: > >> I'm not expert at using Cvs and I see no command to do a rollback; =20 >> can you help? > > Wow, it is harder that I thougt (or maybe I am missing something). > This is what I came up with: > (1) Check out working copy > cvs co opencxx > cd opencxx > [sticky tag: none, sticky date: none] > (2) Use 'cvs log' on one of files that need rollback to > find out to what date you want to roll back. > [sticky tag: none, sticky date: none] > (3) Go back to the rollback date, e.g. > cvs update -D'2003/03/15 12:07:26 UTC' > WARNING: Remember to specify "UTC". 'cvs status' give you times in =20 > UTC, > but other commands accept date in your local time, unless you =20 > specify > UTC. > [sticky tag: none, sticky date: 2003.03.15.12.07.26] > (3) Tag the rollback point: > cvs tag sandbox_USERID_rollback_point > [sticky tag: none, sticky date: 2003.03.15.12.07.26] > (4) Get head revision in your working dir > cvs update -A > [sticky tag: none, sticky date: none] Do I need to change the working directory? If the rollback point tag is =20 created locally then it might be erased. Alex ------------------------------------------------------------------------=20 - Alexandre Tolmos E-mail:=A0...@fr... ICQ: 92964905 ------------------------------------------------------------------------=20 - "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." ------------------------------------------------------------------------=20 - |