如何列出所有提交到存储库的文件? [英] How do I list all files ever committed to the repository?

查看:62
本文介绍了如何列出所有提交到存储库的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能让 SVN 列出所有提交到存储库的文件(如果可能,连同位置和修订版).

How could I let SVN list all files which were ever committed to a repository (if possible, along with location and revision).

更准确地说:我需要所有曾经存在的路径.

More exactly: I need all ever existed paths.

如果有人知道如何对整个存储库(包括所有修订版)进行全文搜索,这会对我有更好的帮助.

If someone knows how to do a fulltext search on the entire repository (including all revisions), this would help me even better.

假设我提交了一个文件 SomeFileOne.txt,稍后将其重命名为 SomeFileTwo.txt.

Let's say I commit a file SomeFileOne.txt, later rename it to SomeFileTwo.txt.

在执行所需任务(我正在寻找哪种解决方案)后,我不仅应该获得 SomeFileTwo.txt,还应该获得 SomeFileOne.txt.

After performing the required task (for which solution I'm looking for), I should get not only SomeFileTwo.txt, but also SomeFileOne.txt.

...
/trunk/SomeProject/SomeFileOne.txt - revision 100
/trunk/SomeProject/SomeFileTwo.txt - revision 101
...

推荐答案

对我来说, svn log -v 会是一种更直观的方法 - 或者您是否已经尝试过?是否有可能分享要求对存储库中曾经进行的所有文件提交进行如此广泛的报告的需求?

To me, svn log -v would have been a more intuitive method - or have you already tried that ? Is it possible to share the need for requiring such an extensive report on all the file commits ever made in the repository?

这篇关于如何列出所有提交到存储库的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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