[Top][All Lists]

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

Checking out an Intermediate version into the working directory

From: William
Subject: Checking out an Intermediate version into the working directory
Date: Wed, 18 Jan 2006 13:31:01 -0500

Let's say I have created versions 1.1, 1.2., 1.3, and 1.4 of filename.txt.

I am currently working with version 1.4; but want to revert to version 1.2. How do I check out the version 1.2 file?

is it:

cvs checkout -r 1.2 filename.txt


 cvs -H checkout
  cvs checkout [-ANPRcflnps] [-r rev] [-D date] [-d dir]
    [-j rev1] [-j rev2] [-k kopt] modules...
        -A      Reset any sticky tags/date/kopts.
        -N      Don't shorten module paths if -d specified.
        -P      Prune empty directories.
        -R      Process directories recursively.
        -c      "cat" the module database.
        -f      Force a head revision match if tag/date not found.
        -l      Local directory only, not recursive
        -n      Do not run module program (if any).
        -p      Check out files to standard output (avoids stickiness).
        -s      Like -c, but include module status.
        -r rev  Check out revision or tag. (implies -P) (is sticky)
        -D date Check out revisions as of date. (implies -P) (is sticky)
        -d dir  Check out into dir instead of module name.
        -k kopt Use RCS kopt -k option on checkout. (is sticky)
        -j rev  Merge in changes made between current revision and rev.

reply via email to

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