如何“取消删除"在 Subversion/TortoiseSVN 中删除了文件夹? [英] How to "undelete" a deleted folder in Subversion / TortoiseSVN?

查看:30
本文介绍了如何“取消删除"在 Subversion/TortoiseSVN 中删除了文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们不小心从我们的 Subversion 存储库中删除了tags"文件夹,我们只想删除一个特定的标签.取回标签"文件夹的最简单方法是什么?

We have accidentally deleted the 'tags' folder from our Subversion repository where we only intended to delete one specific tag. What is the easiest way to get the 'tags' folder back?

我们使用 TortoiseSVN 作为我们的客户端,我认为当我转到 repo 浏览器并显示日志时,会出现类似从该修订版恢复更改"的内容,类似于您在工作副本上的类似对话框中看到的内容.但是那里没有这样的命令......

We use TortoiseSVN as our client and I thought that when I go to the repo browser and show log, there will be something like "revert changes from this revision" similarly to what you can see in a similar dialog on your working copy. But there is no such command there...

推荐答案

只需将已删除的文件夹从早期版本复制回来即可.

Just copy the deleted folder back from an earlier revision.

在存储库浏览器中,单击标有 HEAD 的按钮(在右上角)以向修订版显示您的文件夹仍然存在,然后右键单击该文件夹并选择复制到..."并输入您希望重新创建文件夹的路径(可能与文本框中已有的路径相同).

In the Repository Browser, click the button labeled HEAD (at the top-right corner) to show to a revision there your folder still exists, then right-click that folder and select "Copy to..." and enter the path there you want the folder to be re-created (probably the same path that is already in the text box).

这篇关于如何“取消删除"在 Subversion/TortoiseSVN 中删除了文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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