[Top][All Lists]

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

Checking out a branch with -D

From: Neil Carlson
Subject: Checking out a branch with -D
Date: Mon, 12 Jul 2004 13:11:05 -0600

I have the following scenario.  A new file foo.c was added to the
head on Apr 1.  On Jun 1 changes on the head were merged to a branch
MY_BRANCH that existed prior to Apr 1; in particular foo.c was added
to the branch.  I now want to recover a working copy of the branch
as it existed on May 1.  I check out a copy with the command:
        cvs co -r MY_BRANCH -D "2004-05-01" my_module
For some reason I'm getting a copy of foo.c, when foo.c was not part
of the branch at that time.  Is this the way it's supposed to work?
Is there some way of recovering exactly what the branch looked like
at that date?  (I wish now I had tagged the branch, but I didn't).

Neil Carlson <address@hidden>
Los Alamos National Laboratory

reply via email to

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