哪些 Subversion Web 界面具有指责功能?

发布于 2024-07-06 09:55:56 字数 260 浏览 12 评论 0原文

我正在寻找 subversion Web 客户端 ala SVN::Web 但有一个非常具体的功能,我一直认为会非常有用。

我想要的是能够找到哪个版本负责文本文件中的某一行。 如果能通过网络实现这一点,那就太棒了。

有人知道这样的工具吗?

I'm looking for a subversion web client ala SVN::Web but with a very specific feature I've always thought would be quite useful.

What I want is the ability to find which revision was responsible for a certain line (or lines) in a text file. A way to do this via the web would be fantastic.

Anybody know of such a tool?

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

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

发布评论

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

评论(7

山人契 2024-07-13 09:55:56

我使用 WebSVN,您可以从那里使用 svnblame,然后您就可以看到谁当添加或修改文件中的每一行代码时...

编辑:这里有一对屏幕截图,因此您可以了解一下:

12

I use WebSVN, you can use svn blame from there, and you see who and when added or modified each line of code in a file...

Edit: Here are a pair of screenshots, so you can get an idea:

1, 2

似狗非友 2024-07-13 09:55:56

Trac 可以为您做到这一点。 当您查看文件时,页面顶部有一个注释选项,它将使用 ajax 在文件源左侧加载一个栏,给出每行(或块,如果块被编辑)的修订号在一次提交中)

不过,很高兴看到每行都有修订历史记录的东西。

Trac can do this for you. When you view a file, you have an annotate option at the top of the page, which will use ajax to load a bar down the left of the file source, giving the revision numbers for each line (or block, if a block was edited in one commit)

It'd be nice to see something that had a revision history for each line though.

澉约 2024-07-13 09:55:56

我们使用 Warehouse,并且对此非常满意。 它是用 Ruby on Rails 编写的,因此如果您精通它,那么您就遥遥领先。 他们也刚刚开源

We use Warehouse, and are quite happy with it. It's written in Ruby on Rails, so if you're well versed in that, you're far ahead of the game. They also just went open source.

神仙妹妹 2024-07-13 09:55:56

SVN::Web 界面使您可以访问文件上的 svnblame 注释。

当您查看特定文件时,您应该会看到“责备/注释”作为左上角的链接之一。 当您单击它时,您会看到该文件的标记更加清晰的版本,其中的块具有交替的颜色。 这些描述了属于给定转速的连续块的开始和结束位置。 左侧是其提交负责给定块的用户的用户名,左侧是指示特定块源自的修订版的链接数字。 单击该链接将带您进入修订视图页面,其中列出了该修订中更改的所有文件,以及文件/更改本身的颜色编码差异。

The SVN::Web interface gives you access to the svn blame annotation(s) on files.

When you're viewing a specific file, you should see "Blame/Annotate" as one of the links in the upper left. When you click on it, you have a much more-marked-up rendition of the file, with blocks in alternating colors. These delinate where contiguous blocks belonging to a given rev start and end. To the left are the user-names of the users whose commits were responsible for a given block, and to the left of that a linked number indicating the revision that the particular block stems from. Clicking on the link will take you to the revision-view page, that lists all the files changed in that revision, along with color-coded diffs of the files/changes themselves.

伪装你 2024-07-13 09:55:56

Tortoise SVN 还支持“责备”功能。

Tortoise SVN also supports the 'blame' feature.

┈┾☆殇 2024-07-13 09:55:56

我认为 SVN 有“责备”功能,可以做类似的事情。 不过,我是在黑暗中刺伤。 请稍等,我快速浏览一下互联网。

你打赌。 检查这个。 (顺便说一句,我使用 subclipse)

这意味着大多数 Web SVN 界面都会具有此功能,因为它并不是什么特别的东西。

I thought that SVN had the 'blame' function that could do something similar to that. I am taking a stab in the dark though. Hold on while I take a quick look through the interwebs.

You bet. Check this out. (I use subclipse btw)

This implies that most web SVN interfaces will have this feature because it is not anything really special.

秉烛思 2024-07-13 09:55:56

VisualSVN Server 的 Web UI 有一个责备视图。 查看演示 https://demo-server.visualsvn.com/!/#asf/blame/r1873567/subversion/trunk/subversion/tests/README?line=34

在blame视图中,文件中的每一行都包含作者姓名、日期、日志消息和修订号。 该视图还具有归咎于先前修订版命令,可帮助导航到早期修订版并检查更改的详细信息。 请参阅下面的屏幕截图。

指责视图概述
输入图片此处描述

记录消息
输入图片此处描述

归咎于之前的修订
输入图片此处描述

VisualSVN Server's web UI has a blame view. Check the demo at https://demo-server.visualsvn.com/!/#asf/blame/r1873567/subversion/trunk/subversion/tests/README?line=34

In the blame view, each line in the file includes the author's name, date, log message, and revision number. The view also has the Blame previous revision command that helps navigate to earlier revisions and examine the details of changes. See screenshots below.

Blame view overview
enter image description here

Log message
enter image description here

Blame previous revision
enter image description here

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