在CVS中使用其他diff命令? [英] Use a different diff command with CVS?
问题描述
是否可以在CVS中使用其他差异程序?我想使用诸如meld之类的东西来为我提供存储库及其更改的并排图形视图.使用其他CMS是我无法控制的.理想的是一些未记录的命令行参数,其工作方式如下:
Is it possible to use a different diff program with CVS? I'd like to use something like meld to give me a side-by-side graphical view of the repository and my changes. It's out of my control to use a different CMS. What would be ideal is some undocumented command line argument that would work like this:
cvs diff -prog /usr/bin/meld foo.cc
这将使我签出的foo.cc修改版与存储库版本有所不同,但是使用了diff程序.
This would give me a diff of my checked out, modified version of foo.cc with the repository version, but using the diff program meld.
我意识到一个没有记录的命令行参数是不太可能的,因此,如果您必须将其一起破解,那对我来说是有效的.
I realize an undocumented command line argument is unlikely, so if you have to hack it together, that works for me.
推荐答案
I finally found the cvsmenu plugin for Vim. It works like a charm for me.
这篇关于在CVS中使用其他diff命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!