我现在有一个解决方法类型的解决方案。我会分享它,但我仍然非常想知道如何做到这一点/如果可以做到这一点。
解决方法:
Check out two copies of the code based on certain dates
and do a directory diff with something like Beyond Compare.
问题:
What changes were made on or around June 25th?
解决方案(Windows):
1. Create two directories C:\dirA\ and C:\dirB\
2. Right-click C:\dirA\ and click 'CVS Checkout...'
3. Select the appropriate Module
4. Click the 'Revision' tab
5. Choose to get the 'Files at a certain time' and pick June 24th.
6. Repeat steps 2 - 4 on C:\dirB\
7. Choose to get the 'Files at a certain time' and pick June 26th.
8. Do a directory diff of C:\dirA\ vs C:\dirB\
9. Any differences will have been checked in on either the 24th, 25th, or 26th.
10. View CVS History to determine the exact date and time of a particular change.
可以肯定的是,这不是最优雅的解决方案,但它确实有效。只要日期范围不太大并且项目没有挤满开发人员,大多数显示的更改将是您正在寻找的更改。
显然,考虑到这有点类似于 kluge 的性质,我仍然对更优雅的解决方案非常感兴趣,如果有人有一些意见,我会暂时保留这个问题。