SVN重命名目录,维护文件历史记录 [英] SVN Rename directory, maintain file history

查看:468
本文介绍了SVN重命名目录,维护文件历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最初创建的svn存储库没有建议的主干,分支,标签结构.

I originally created my svn repository without the suggested trunk, branches, tags structure.

看起来像这样.

/src
/src/file.txt
/src/file2.txt

我使用TortoiseSVN将/src目录重命名为/projectName/trunk/src;但是,现在我无法使用Show Log在目录结构中轻松查看文件的历史记录.有没有更好的方法来保持所有文件的连续历史记录?

I used TortoiseSVN to rename the /src directory to /projectName/trunk/src; however, now I can't easily view the history of a file within the directory structure using Show Log. Is there a better way to do this to maintain a continuous history of all the files?

推荐答案

在查看日志时,乌龟默认为Stop on copy.如果取消选中日志查看器上的该框,则可以查看文件/目录的整个历史记录.

Tortoise defaults to Stop on copy when viewing logs, if I remember right. If you uncheck that box on the log viewer, then you'll be able to see the entire history of the files/directories.

这篇关于SVN重命名目录,维护文件历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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