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?
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?
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
posted by j at 11:12 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
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
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 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
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
posted by andrew cooke at 5:47 PM on April 22, 2006
« Older How do I rename files based on the contents of a... | Culture and begging in America - is there a... Newer »
This thread is closed to new comments.
posted by kcm at 11:09 PM on April 21, 2006