区分项目的多个版本 [英] Diff multiple versions of a project

查看:59
本文介绍了区分项目的多个版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始了一项新工作,接手了开发现有系统的工作。该系统(如果需要的话,是PHP网站)设置了三个实例。

I've recently started a new job where I have taken over developing an existing system. The system (PHP site if it matters) was setup with three instances.


  • 活动站点(供员工和客户使用)

  • 测试站点(主要用于向员工演示功能请求)

  • 开发站点(由先前的开发人员使用)

这似乎是一件合理的事情(他们没有SVN服务器设置)。但是现在已经有两个星期了,我注意到所有三个站点的代码(和数据库模式)都不同。我希望dev和live之间会有区别,但是live具有dev没有的功能。

This seemed like a reasonable thing to do (They didn't have a SVN server setup). But now that I'm a couple weeks in, I've noticed that the code (and database schemas) is different across all three sites. I expected there to be differences between dev and live, but live has features that dev doesn't.

我已经运行 CLOC ,我正在研究不同版本之间的大约180个修改文件和110个新文件。除了仅逐个文件执行差异文件外,还有什么软件或更简便的方法可以比较所有版本的代码?

I've run CLOC and I am looking at around 180 modified files and 110 new files between the different versions. Is there any software or easier method to compare the code across all the versions than just performing diffs file by file?

推荐答案

meld 非常适合比较整个文件夹(和文件) )以向下钻取的方式递归。

meld is excellent for comparing entire folders (and files) recursively in a drill-down style.

这篇关于区分项目的多个版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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