[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do a "roll back"

From: Josh Baudhuin
Subject: Re: How to do a "roll back"
Date: Fri, 07 Sep 2001 07:34:57 -0700

How about:
        % cvs edit foo          -- if watching is on
Then, assuming foo 1.5 is already in your sandbox:
        % cvs update -p -r1.2 foo >foo
        % cvs commit foo

This retrieves 1.2 without "stick"ing the file to that revision, and
puts it where you want it. Then you just commit it. This should work on
Win32 as well as Unix.

Julio Kriger wrote:
> Hi,
>         I'm new to CVS. I often used Visual SourceSafe. Now I'm using CVS. I
> read the man but have not find any clue about how to do a rollback.
>         I have a file named, the last revision is 1.5, and I want to
> do a rollback to revision 1.2, and I do not know how to do it.
>         I work around I find is that I make an update with revision 1.2, copy
> that file, make another update with revision 1.5, copy back the file and
> commit. But I do not like this.
>         If you can help me, please tell how to do it.
>         Thanks in advance.
> PS: please reply to address@hidden
> ************************************************************************
> Visite y tenga el Banco al alcance de su mano.
> ************************************************************************
> Este mensaje (y sus anexos) es confidencial y puede contener informacion
> (i) de propiedad exclusiva de Banco Rio de la Plata S.A. sus afiliadas o
> subsidiarias; o (ii) amparada por el secreto profesional. Si usted ha
> recibido este fax o e-mail por error, por favor comuniquelo
> inmediatamente via fax o e-mail y tenga la amabilidad de destruirlo; no
> debera copiar el mensaje ni divulgar su contenido a ninguna persona.
> Muchas gracias.
> This message (including attachments) is confidential. It may also
> contain information that (i) is exclusively property of Banco Rio de la
> Plata S.A. or its affiliates or subsidiaries; or (ii) is privileged or
> otherwise legally exempt from disclosure. If you have received it by
> mistake please let us know by fax or e-mail immediately and destroy or
> delete it from your files or system; you should also not copy the
> message nor disclose its contents to anyone. Thank you.
> **************************************************************************

reply via email to

[Prev in Thread] Current Thread [Next in Thread]