cvs checkout time series

核能气质少年 提交于 2019-12-23 13:10:21

问题


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 options 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.


回答1:


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).



来源:https://stackoverflow.com/questions/4587679/cvs-checkout-time-series

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!