[Top][All Lists]

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

Re: Backtracking on Branch.

From: Eric Siegerman
Subject: Re: Backtracking on Branch.
Date: Mon, 8 Apr 2002 14:54:27 -0400
User-agent: Mutt/1.2.5i

On Mon, Apr 08, 2002 at 04:30:29AM -0000, brisharpe wrote:
> I've been working on a branch for a while now, but now
> I want to resort my code back to a date.

The basic idea is:
        cvs update -j<branch> -j<older-version-you-want-to-revert-to>

There are three choices for how to specify
 1. Use a release tag, if you happen to have one that's appropriate

 2. Specify it by date (for the syntax, see the description of
    "-j" in the node "update options" of the manual)

 3. Do "the revision number thing".  Yeah, you can do it, but
    it'll be really painful for 700 files, since you'll have to
    do it on each one individually.

Barring a release tag that's exactly correct, the best bet is
probably to combine either (1) or (2) with (3):  start with a
date or release tag that's in the neighbourhood of the point you
want to revert to; then fine-tune on a file-by-file basis.


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
"Outlook not so good."  That magic 8-ball knows everything!
I'll ask about Exchange Server next.
        - Anonymous

reply via email to

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