[英]SVN CheckOut files which are committed between 2 dates
How we can checkout the files which are committed between 2 dates. 我们如何检出两个日期之间提交的文件。
I'm getting the error "svn: E195008: Revision range is not allowed" when i'm using the below option 当我使用以下选项时,出现错误“ svn:E195008:不允许修订范围”
svn co URL -r {2016-04-01}:{2016-07-22} svn co URL -r {2016-04-01}:{2016-07-22}
and we can see the log messages between 2 dates svn log URL -qv -r {2016-07-01}:{2016-07-21} like this what is the option we need to use to CO the files which are committed between 2 dates. 并且我们可以看到两个日期之间的日志消息svn log URL -qv -r {2016-07-01}:{2016-07-21}像这样,我们需要使用什么选项来CO在两次之间提交的文件2个日期。
You can't checkout 您无法结帐
Beside the fact, that I can't see any good reasoning for such file-set as physical object ( logical object is just svn ls -qv
with some post-processing) and question isn't related to VisualSVN Server (only to pure core SVN) I can't imagine, why do you not read docs?! 除了事实,我看不到任何文件集作为物理对象的合理理由( 逻辑对象只是
svn ls -qv
并带有一些后期处理),并且问题与VisualSVN Server不相关(仅与纯核心有关) SVN)我无法想象,为什么不阅读文档? Even svn help
must show you required steps with just some actions ( TBT!!! written from mind) 即使是
svn help
必须通过一些操作即可向您显示所需的步骤( TBT !!!记述自头脑)
svn ls -v N:M ...
+ svn cl MYFILES --targets LIST
(save list of files from ls
/with numerical revision at least for START-REV/ to file, clean it, use file as source for creating changelist) svn ls -v N:M ...
+ svn cl MYFILES --targets LIST
(保存ls
的文件列表/至少对于START具有数字修订) -REV /到文件,将其清理,使用文件作为创建变更列表的源) svn co BASE/URL --depth 'empty'
(get empty Working Copy) svn co BASE/URL --depth 'empty'
(获取空的工作副本) svn up -r M --set-depth 'infinity' -cl MYFILES
(update /from nothing/ only files in changeslist, using END-REV as base) svn up -r M --set-depth 'infinity' -cl MYFILES
(使用END-REV作为基础,仅从更改列表中的文件更新/从无内容/仅更新) HTH 高温超导
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.