如何“删除” Subversion / TortoiseSVN中一个已删除的文件夹? [英] How to "undelete" a deleted folder in Subversion / TortoiseSVN?

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

问题描述

我们意外地从Subversion存储库中删除了标签文件夹,该文件夹仅旨在删除一个特定的标签。恢复标签文件夹的最简单方法是什么?

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作为客户端,我想当我进入回购浏览器并显示日志时,将会出现类似从此修订版本还原更改之类的内容,类似于您在工作副本上的类似对话框中看到的内容。但是那里没有这样的命令...

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天全站免登陆