Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
变更集和补丁有什么区别?
我今天在使用 hg,我注意到 import 命令提到它用于“导入一组有序的补丁”。
什么是补丁?
变更集通常是指内部表示。因此,hg unbundle处理特定于 mercurial 的文件的 .“应用一个或多个变更组文件”。变更组只是一组变更集。
hg unbundle
补丁是标准格式的纯文本(例如由 制作diff)。请注意,该patch命令可用于处理这些纯文本文件(独立于版本控制)。
diff
patch