使用 tortoise svn 将更改的文件导出到另一个目录 [英] export changed files using tortoise svn to another directory

查看:98
本文介绍了使用 tortoise svn 将更改的文件导出到另一个目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我的项目,我只想使用 tortoise svn 导出自上次更新以来更改/添加的文件(那些标有红色感叹号或加号的文件),但是我似乎找不到正确的组合来完成这个简单的任务.

For my project I would like to export only the changed/added files since last update (those marked with red exclamation or plus sign) using tortoise svn, however I can't seem to find the right combination to do this simple task.

我现在做的是使用指定的修改日期执行 xcopy,但是它遗漏了一些只是添加到文件夹中而未修改的文件.由于我可以获得更改列表,因此我看不到任何方法可以简单地将这些文件导出到部署目录.

What I do now is do xcopy with specified modified date, however it misses some files which were simply added to a folder and not modified. Since I can get a list of changes, I don't see any way to simply export these files to a deploy directory.

推荐答案

检查修改对话框,按状态排序.Shift-Click 或 Ctrl-Click 选择所有具有修改"和添加"状态的内容.然后只需将文件从检查修改"对话框中右键拖动到资源管理器中的另一个文件夹即可.

Check-for-modifications dialog, sort by status. Shift-Click or Ctrl-Click to select all those with "modified" and "added" status. Then simply right-drag the files from the Check-for-modifications dialog to another folder in explorer.

另一种方式(如果您已经提交了更改):显示日志对话框,选择所有具有有趣更改的修订.在下方窗格中,按住 Shift 键选择所有条目,右键单击,选择另存为".

Another way (if you already committed your changes): Show log dialog, select all revisions with the interesting changes. In the lower pane, shift-select all entries, right-click, choose "save as".

另一种方式:使用存储库浏览器,找到第一个 url(假设您要导出两个标签之间更改的所有内容,例如版本 1 和版本 2),右键单击,标记进行比较".找到第二个url,右击,比较url".在下面的已更改文件"对话框中,选择所有文件,右键单击,选择将选择导出到...".

Yet another way: Use the repository browser, find the first url (assuming you want to export everything that's changed between two tags, e.g., version 1 and version 2), right-click, "Mark for comparison". Find the second url, right-click, "compare urls". In the following "changed files" dialog, select all files, right-click, choose "export selection to...".

这篇关于使用 tortoise svn 将更改的文件导出到另一个目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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