How to get the SVN revision number in certain Date or date range

假如想象 提交于 2019-12-05 01:29:59
 svn co -r {2011-11-28} svn://location/of/my/repository/branch

works for me. May be you are missing URL. however if I try to checkout a revision of a time when repo did not exist, I get

svn co -r {2006-11-28} svn://location/of/my/repository/branch
svn: Unable to find repository location for 'svn://location/of/my/repository/branch' in revision 0

Update After reading your comment you seem to be just interested in seeing committed file in a date range. Here is what I do:

svn log -r {2011-12-02}
------------------------------------------------------------------------
r10514 | nishant | 2011-12-01 22:47:44 +0000 (Thu, 01 Dec 2011) | 1 line

fixed issue#2993
------------------------------------------------------------------------

refer: SVN doc for revision specifiers Do read why it gives results for the commits made a day earlier.


Update:
Revision range is not applied on date.

svn co -r {2012-09-04}:{2012-09-14} svn://location/of/my/repository/branch
svn: Revision range is not allowed

However, if you just wanted to see the files altered between two date range. Just see the log

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