在CVS中使用其他diff命令? [英] Use a different diff command with CVS?

查看:92
本文介绍了在CVS中使用其他diff命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在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屋!

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