使用自定义增量算法扩展版本控制系统 [英] Extending a version control system with custom delta algorithm

查看:130
本文介绍了使用自定义增量算法扩展版本控制系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪些成熟的版本控制系统允许覆盖查找和应用delta的算法?无论是通过插件还是通过外部工具,都无关紧要。



必须可以覆盖特定文件类型的VCS的内部差异算法。自定义增量必须存储在版本库中以供增量应用算法使用。



在我的情况下,内部二进制差异是不可接受的。



我的意思是重写算法,而不是使用自定义diff程序显示差异。

解决方案

对于服务器端:
据我所知(我不是这方面的专家!)不容易完成。所以你最好的办法似乎是从Apache Subversion获得源代码,并根据你的需要修改/扩展它。查看Pre-Commit Hooks也是一个主意。



对于客户端:
ClearCase有一些很好的额外合并工具,办公文件。
也可以在Tortoise SVN Client中更改差异/合并工具。

Which mature version control systems allow overriding algorithms of finding and applying delta? Either through plugin or through exteral tool, does not matter.

It must be possible to override internal diff algorithm of a VCS for specific file types. Custom deltas must be stored in the repository to be used by the delta applying algorithm.

Internal binary diff is not acceptable in my case.

I mean exactly overriding algorithms, not displaying the differences using a custom diff program.

解决方案

For Server Side: As far as I know (I´m no expert on this subject!) this is not easily done. So you´re best shot seems to get the source from Apache Subversion and modify/extend it according to your needs. Taking a look into "Pre-Commit Hooks" is also an idea.

For Client Side: ClearCase has some nice extra Merge Tools for e.g. office documents. Also it is possible to change the diff/merge tool in the Tortoise SVN Client.

这篇关于使用自定义增量算法扩展版本控制系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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