Skip

CVS checkout by date, how?
April 21, 2006 11:07 PM   Subscribe

noob and CVS. How do I check out source by date?

if this
cvs -z3 -d:pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17/apps/e
checks out the current code for the enlightenment window manager but last week's code was better/more stable/didn't have a stupid semi-functional addition accidently comitted to it, so I want to revert. How would one do this?
posted by Grod to Computers & Internet (9 answers total)
 
you can check out a rev with -r, or by date with -D.
posted by kcm at 11:09 PM on April 21, 2006


add -D "04/14/2006 09:00" or whatever the date/time was that you want.
posted by j at 11:12 PM on April 21, 2006


too slow! argh...
posted by j at 11:12 PM on April 21, 2006


the fine manual wants to be read
posted by Rhomboid at 11:47 PM on April 21, 2006


what if i want date and a certain branch?
posted by andrew cooke at 6:25 AM on April 22, 2006


Andrew: I'm pretty sure you can use -r and -D together.
posted by furtive at 8:40 AM on April 22, 2006


i don't think so, because then you're asking for two contradicting things - do you want the tag or the date?

i've just googled around (this was a problem last week at work that we solved a different way) and the suggestion here is to check out the brach where it forks (ie at the base tag for the branch) and then update to the date in question.
posted by andrew cooke at 2:07 PM on April 22, 2006


I've used -r and -D together numerous times. As long as the thing you are specifying with -r is really a branch (i.e. NOT a tag) it should work fine with a recent version of CVS.
posted by oats at 4:51 PM on April 22, 2006


ok, i'll give it a try next shift; thanks.
posted by andrew cooke at 5:47 PM on April 22, 2006


« Older I have a folder of 300+ files ...   |  More American urban sociology:... Newer »
This thread is closed to new comments.


Post