Differences between revisions 6 and 7
Revision 6 as of 2008-01-15 23:46:07
Size: 2037
Editor: abuehl
Comment: #language zh
Revision 7 as of 2009-05-19 19:31:00
Size: 2046
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
本教程是介绍如何使用 ["Mercurial"]。我们不假定你有使用 [:SCM:源代码控制管理(SCM)] 软件的背景。
本教程有法文 ["FrenchTutorial"],西班牙文 ["SpanishTutorial"],日文 ["JapaneseTutorial"],和中文 ["ChineseTutorial"]
本教程是介绍如何使用 [[Mercurial]]。我们不假定你有使用 [[SCM|源代码控制管理(SCM)]] 软件的背景。
本教程有法文 [[FrenchTutorial]],西班牙文 [[SpanishTutorial]],日文 [[JapaneseTutorial]],和中文 [[ChineseTutorial]]
Line 9: Line 9:
 * 你将要使用的 ["Mercurial"] 的概念和命令
 * 如何用简单的方法在软件项目中使用 ["Mercurial"]
 * 你将要使用的 [[Mercurial]] 的概念和命令
 * 如何用简单的方法在软件项目中使用 [[Mercurial]]
Line 12: Line 12:
我们强烈建议你研读 Mercurial 手册 [http://www.selenic.com/mercurial/hg.1.html hg(1)] 和[http://www.selenic.com/mercurial/hgrc.5.html hgrc(5)],它们也在源代码树 {{{doc/hg.1.txt}}} 和 {{{doc/hgrc.5.txt}}} 中 我们强烈建议你研读 Mercurial 手册 [[http://www.selenic.com/mercurial/hg.1.html|hg(1)]][[http://www.selenic.com/mercurial/hgrc.5.html|hgrc(5)]],它们也在源代码树 {{{doc/hg.1.txt}}} 和 {{{doc/hgrc.5.txt}}} 中
Line 20: Line 20:
你希望 ["Mercurial"] 或 shell 输出的行以 fixed 字体显示,但开头没有字符。 你希望 [[Mercurial]] 或 shell 输出的行以 fixed 字体显示,但开头没有字符。
Line 31: Line 31:
 * ChineseTutorialInstall - 安装 ["Mercurial"]
 * ChineseTutorialClone - 为现有的 [:Repository:仓库] 作一个复本
 * ChineseTutorialHistory - 浏览[:Repository:仓库]的历史
 * ChineseTutorialInstall - 安装 [[Mercurial]]
 * ChineseTutorialClone - 为现有的 [[Repository|仓库]] 作一个复本
 * ChineseTutorialHistory - 浏览[[Repository|仓库]]的历史
Line 35: Line 35:
 * ChineseTutorialShareChange - 写其它[:Repository:仓库]分享改变  * ChineseTutorialShareChange - 写其它[[Repository|仓库]]分享改变
Line 38: Line 38:
 * ChineseTutorialConflict - 处理需要人工解决的[:Merge:合并]  * ChineseTutorialConflict - 处理需要人工解决的[[Merge|合并]]

Mercurial 使用教程

本教程是介绍如何使用 Mercurial。我们不假定你有使用 源代码控制管理(SCM) 软件的背景。 本教程有法文 FrenchTutorial,西班牙文 SpanishTutorial,日文 JapaneseTutorial,和中文 ChineseTutorial

当研究完本教程后,你应该对以下几点有所领会:

  • 你将要使用的 Mercurial 的概念和命令

  • 如何用简单的方法在软件项目中使用 Mercurial

我们强烈建议你研读 Mercurial 手册 hg(1)hgrc(5),它们也在源代码树 doc/hg.1.txtdoc/hgrc.5.txt

如何阅读本教程

格式约定很简单。命令名和参数名以 fixed font 显示。

你需要在 shell 或 命令行中输入的行用 fixed 字体显示,该行以 $ 字符开头。

你希望 Mercurial 或 shell 输出的行以 fixed 字体显示,但开头没有字符。

$ this is a line of user input
this is a line of program output

我们在所有例子中使用 bash shell。在其它 Unix shell 和 Windows command.exe 中的概念是一样的,但操作上的某些语法需要改动。例如,ls 在 Unix shell 中与 Windows 中的 dir 大致相当,Unix的 vi 和 Windows 的 edit 相似。

目录


CategoryChinese

ChineseTutorial (last edited 2012-11-11 13:28:11 by abuehl)