【发布时间】:2009-11-04 21:27:05
【问题描述】:
使用 TortoiseHg Synchronize,单击“拉”会拉下 第二个最近的修订。
同步界面的底部是一个按钮,“更新到分支提示”。单击此按钮会下拉最新版本。
这里发生了什么?
【问题讨论】:
标签: mercurial tortoisehg
使用 TortoiseHg Synchronize,单击“拉”会拉下 第二个最近的修订。
同步界面的底部是一个按钮,“更新到分支提示”。单击此按钮会下拉最新版本。
这里发生了什么?
【问题讨论】:
标签: mercurial tortoisehg
命令行 hg 告诉我们:
$ hg 帮助拉动
...
Pull changes from a remote repository to a local one.
...
-R is specified). By default, this does not update the copy of the
project in the working directory.
对比
$hg 帮忙
...
更新仓库的工作目录到指定的 修订版,如果未指定,则为当前分支的尖端。
【讨论】:
-u 标志在单个操作中拉取和更新,因此 $ hg pull -u [source]
如果您是 mercurial 新手或想知道您没有错过任何选项,这可能会有所帮助:
【讨论】: