- 追加された行はこの色です。
- 削除された行はこの色です。
* リポジトリ [#l8bd529a]
** クローン [#a33d5cde]
> hg clone orig.repos new.repos
> hg clone orig_repos new_repos
** リモートリポジトリのエイリアスを表示する [#ha00a598]
> hg paths
クローン元のリポジトリがわかる。
** hg pull [#pf18fc5a]
*** 1. hanakoがtaroのリポジトリをcloneする [#c9cf4516]
> hg clone taro hanako
*** 2. taroがリポジトリに変更を加えてcommitする [#od3794b0]
> vi 1.txt
> hg add 1.txt; hg commit 1.txt -m 'edit 1.txt'
*** 3. hanakoがtaroのcommitをpullで取り込む [#k089eb09]
> hg pull
この時点で1.txtには修正が反映されてない。
*** 4. updateで修正をワーキングディレクトリに反映する [#w8f22d66]
> hg update