简体   繁体   English

如何获取修订版本中的更新特定文件?

[英]How to get update specific file in revision length?

I'm trying checkout specific file in length of revesion number following 我正在尝试按照以下版本号签出特定文件

In SVN have: 在SVN中有:

   revision
     1024
       - Modify /trunk/apps/model/book.rb
     1023
       - Modify /trunk/apps/model/book.rb
       - Modify /trunk/config/locale/en.rb
     1022
       - Modify /trunk/apps/model/note.rb
     1021
       ....

How do I checkout specific file from SVN with revision between 1023 to 1024 with result below? 如何从SVN中检出特定文件,版本在1023到1024之间,结果如下?

trunk
  - app
  - - model
  - - - book.rb
  - config
  - - locale
  - - - en.rb

You can not checkout a single file. 您无法签出单个文件。 The smallest part you can checkout is a directory. 您可以检出的最小部分是目录。 In this case i would suggest to checkout the trunk in revision 1024 which contains all files till revision 1024...but will also contain the note.rb which you don't like to have. 在这种情况下,我建议您检出修订版1024中的主干,该主干包含直到修订版1024的所有文件...但还将包含您不想要的note.rb。 It is not possible to checkout the state as you described it. 无法按照您描述的方式签出状态。 I don't know why you need to have only this state of your working copy with only files which have been changed in 1023 and 1024...which sound a little bit like a delta checkout... 我不知道为什么您只需要工作副本的这种状态以及仅在1023和1024中已更改的文件...听起来有点像增量结帐...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM