Mercurial-将历史文件导出到存档中
我想通过使用“hg存档”来交付我的项目。我看到的唯一问题是,该档案中没有历史文件。有没有办法将完整的历史记录导出到同一个文件中Mercurial-将历史文件导出到存档中,mercurial,tortoisehg,Mercurial,Tortoisehg,我想通过使用“hg存档”来交付我的项目。我看到的唯一问题是,该档案中没有历史文件。有没有办法将完整的历史记录导出到同一个文件中 我所说的历史是指修订说明。hg archive专门用于删除任何历史上下文/版本控制数据 如果您想要存储库的历史记录,只需复制实际的存储库。在运行hg archive之后,您可以运行hg log--style compact>history.log。您将得到一个包含以下内容的文件: 598[tip][master] 9e6089ab583e 2012-01-31
我所说的历史是指修订说明。
hg archive
专门用于删除任何历史上下文/版本控制数据
如果您想要存储库的历史记录,只需复制实际的存储库。在运行
hg archive
之后,您可以运行hg log--style compact>history.log
。您将得到一个包含以下内容的文件:
598[tip][master] 9e6089ab583e 2012-01-31 17:33 -0800 ludovic
Fixed bug with invalid cache deleting the server cache.
597 31db8a573628 2012-01-31 17:33 -0800 ludovic
Added ability to bake a single directory.
596 94984a322204 2012-01-31 17:32 -0800 ludovic
Added helper function to create dummy posts.
595[github/master] 7cc23cfe234b 2012-01-30 11:55 -0800 ludovic
Added another test for file baking.
594 044b67accf3c 2012-01-30 11:55 -0800 ludovic
Throw an error about not supporting asset sub-directories.
593 dd1943298b06 2012-01-30 10:23 -0800 ludovic
Make `PieCrustPlugin::getName` abstract.
您可以使用任何预定义的样式自定义
hg log
的输出,或者,这取决于您在该历史文件中需要的信息量。历史是指修订说明。您必须在之后写入它。它包含四行:repo:node:branch:default tag: