Mercurial:将更改提交到资源库

另请参见

在编辑版本控制文件的工作副本后,您可以使用 Mercurial 的“提交”操作将更改提交到资源库中。If you have an issue tracker set up with your repository, the commit dialog box lets you associate your commit action with an existing issue.

将本地文件中的更改提交到资源库:

  1. 选择一个版本控制文件或文件夹(如从“项目”、“文件”或“收藏夹”窗口中进行选择),然后单击鼠标右键并从弹出式菜单中选择 "Mercurial" >“提交”。将打开“提交”对话框,其中列出了所有包含本地更改的文件。如果要提交的文件已不在资源库中,则提交操作会添加这些文件。
  2. 在“提交消息”文本区域中输入提交消息,以说明提交的目的。
  3. 单击“提交”。IDE 将执行提交操作,并将本地更改发送到资源库中。您还可以从“输出”窗口 (Ctrl-4) 中查看文件被提交到资源库的进度情况。

Updating Issues

You can update an issue by associating your commit action with an existing issue in your repository's issue tracker. To do so, click on the Update Issue heading in the Commit dialog box to expand it, then specify the following:

还可以指定以下选项:

忽略文件

如果本地工作目录包含不需要进行版本控制的文件或目录,可以使用“忽略”命令将 IDE 设置为永久忽略这些内容。

忽略工作目录中的本地文件:

  1. 从“项目”、“文件”、“收藏夹”或“状态”窗口中,选择要忽略的文件或目录。
  2. 右键单击选定的文件或目录,然后从弹出式菜单中选择“忽略”(或 "Mercurial" >“忽略”)。每当为该文件或该文件所存储的目录调用 Mercurial 命令时,IDE 都会忽略它们。
另请参见
复制外部的 Mercurial 资源库
比较文件修订
About Issue Trackers
Adding an Issue Tracker

法律声明