以前的svn日志不显示
首先,我已将 CVS 存储库迁移到 SVN 存储库。我检查了整个 SVN 存储库并进行了一些更改,例如将目录重新排列为分支和标签。我将其导入到新的 SVN 存储库中。我正在使用以下命令导入..
svn import svn+ssh://host/address/path to repository -m "new files added" --username xyz
验证 xyz 后,它会被导入。
现在我正在将该存储库签入工作副本。我使用了以下命令
svn co svn+ssh://host/address/path to repository --username xyz
当我执行 svn log 时,我得到了添加的新文件作为日志输出。之前的所有日志都不会显示。我希望显示这些日志。如何获取这些日志?
Firstly, I have migrated my CVS repository into SVN repository. I checked out this whole SVN repository and make some changes like rearranging the directories into branches and tags. The I imported it into the new SVN repository. I am using following command to import ..
svn import svn+ssh://host/address/path to repository -m "new files added" --username xyz
After authenticating xyz, it gets imported.
Now I am checking out that repository into working copy. I used following command
svn co svn+ssh://host/address/path to repository --username xyz
When I do svn log
I get the new files added
as log output. All the previous logs are not displayed. I want those logs to be displayed.How can I get those logs?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您想保留文件的历史记录,请在初始存储库中使用 svn cp 和 svn mv ,而不是将文件导入到新存储库。
If you want to retain files' history, use
svn cp
andsvn mv
in the initial repository instead of importing the files to a new repository.当您将文件
svn import
到 Subversion 中时,您会创建这些文件的初始版本。这些文件的历史记录不能超过您当前看到的历史记录,因为在导入之前,svn 不会跟踪这些文件。when you
svn import
files into Subversion, you create an initial version of those files. The files can't have more history than what you're currently seeing, because before the import there weren't tracked by svn.