如何查看我的 svn 快照(备份)

发布于 2024-12-28 07:37:18 字数 394 浏览 4 评论 0原文

我正在寻找一个可能会或可能不会被签入许多颠覆存储库之一的项目。拥有实际存储库的机器几年前就死了,但我确实有备份。它们是 bz 压缩的 tar 存档,每周对文件系统拍摄的快照(当我解压一个文件并执行 ls 时,我得到以下目录:conf dump help OpenVXI repositoriesworking)

我已经成功地完成了转储最新版本,然后在我的本地计算机上安装了 subversion,并安装了存储库,但我仍然不知道里面有什么。我如何浏览这些东西里面的内容,希望不需要先检查所有内容的副本的麻烦和工作?

我希望 svnadmin help 命令能让我查看这些内容,但似乎没有这样的选项可用。

(我可能应该向所有好奇的人指出,我们所有正在进行的项目都已转移到 Assembla。我正在寻找的项目已经好几年没有工作了)

I'm looking for a project that may or may not be checked into one of many subversion repositories. The machine with the actual repository died a few years ago, but I do have backups. They are bz compressed tar archives, snapshots taken weekly of the filesystem (when I unzip one and do a ls I get the following directories: conf dump help OpenVXI repositories working )

I've successfully done a dump on a late revision, and then installed subversion on my local machine, and installed the repository but I still don't know what's in it. How do I browse what's inside these things, hopefully without the bother and work of checking out a copy of everything first?

I was hoping a svnadmin help command would let me peer inside these things but there does not seem to be an option like this available.

(I should probably note to all the curious that all of our active projects have been moved over to Assembla. The one I'm looking for has not been worked on for a few years)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雨轻弹 2025-01-04 07:37:18

您不会发现太多将存储库视为另一个目录的情况。因此,您可能需要的工具是 svnlook。

svnlook tree <path-to-uncompressed-repository> | grep <what-you're-looking-for>

这将列出存储库中的所有路径,然后使用 grep 过滤输出。

编辑 1

将子命令从 list 更正为 tree

我希望这会有所帮助。

You won't be able to find much treating the repository as just another directory. As such the tool you probably want is svnlook.

svnlook tree <path-to-uncompressed-repository> | grep <what-you're-looking-for>

This will list all paths in the repository, and then filter the output with grep.

EDIT 1

Corrected the sub-command from list to tree

I hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文