Subversion:仅签出在特定提交期间受影响的文件 [英] Subversion: Check out only those files affected during a specific commit

查看:93
本文介绍了Subversion:仅签出在特定提交期间受影响的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Subversion中,如果您知道特定的修订版本号,是否可以仅检出在特定提交过程中受影响的那些文件?

In Subversion, is it possible to check out only those files affected during a specific commit, provided you know the specific revision number?

推荐答案

我认为Subversion检出只能检出特定的文件夹,而不能检出单个文件.也就是说,命令:

I think that a Subversion check out can only check out a specific folder and not individual files. That said, the command:

svn log -r *revision* -q -v

将列出与指定修订版相关的更改,因此您可以处理此命令的输出,以在检出完整目录的工作文件夹后帮助将所需文件复制到某处.

will list the changes associated with the specified revision so you could process the output of this command to help copy the desired files to somewhere after checking out a working folder for the full directory.

这篇关于Subversion:仅签出在特定提交期间受影响的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆