变更集和补丁之间的区别? [英] Difference between a changeset and a patch?

查看:162
本文介绍了变更集和补丁之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

变更集和补丁有什么区别?

What is the difference a changeset and a patch?

我今天使用的是hg,我注意到import命令提到它用于导入有序集合补丁。

I was using hg today and I noticed the import command mentions that it is used to "import an ordered set of patches."

什么是补丁?

推荐答案

变更集通常指内部表示。因此,处理mercurial特定文件的 hg unbundle 应用一个或多个changegroup文件。变更组只是一组变更集。

Changeset typically refers to the internal representation. Thus, hg unbundle, which processes mercurial-specific files, "applies one or more changegroup files." A changegroup is simply a group of changesets.

补丁是标准格式的纯文本(例如由 diff )。请注意 patch 命令可用于处理这些纯文本文件(独立于版本控制)。

Patches are plain text in standard formats (e.g. produced by diff). Note that the patch command can be used to process these plaintext files (independent of revision control).

这篇关于变更集和补丁之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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