cvs checkout time series
We have a cvs archive, and I can get any version of any file I want. However, is there any way to just get the code as of a certain date and time? I don't see any option开发者_如何学编程s to request that. I'd like the ability to walk through a cvs archive day by day and do metrics automatically, perhaps a visualization of what happened to the code over time.
You can check out a specific date:
cvs co -D "2010-10-10 22:15:59 GMT" mypath/myfile
See e.g. http://www.manpagez.com/man/1/cvs/ for the detailed docs (option -D
).
精彩评论