#author("2025-11-29T10:27:19+09:00","","")
#author("2025-11-29T10:29:19+09:00","","")
#topicpath();

////////////////////////////////////////////////////////////////////////////////
* 目次 [#sd8fa430]
#contents();

////////////////////////////////////////////////////////////////////////////////
* hg [#f0dc164e]
- Mercurial source code management system のコマンド
- コマンド群は全て ''hg-'' で始まる。
- debian では mercurial パッケージに収録されている

//==============================================================================
** git, subversion とのコマンド比較 [#wc2480b3]
|~mercurial          |~git                        |~subversion       |
|hg add              |git add                     |svn add           |
|hg blame            |git blame                   |svn blame         |
|hg cat              |git show                    |svn cat           |
|hg clone            |git clone                   |svn checkout      |
|hg commit,  hg push |git commit -a,  git push    |svn commit        |
|hg remove           |git rm                      |svn delete/remove |
|hg diff             |git diff, git diff –cached  |svn diff          |
|hg help             |git help                    |svn help          |
|hg log              |git log                     |svn log           |
|hg revert           |git checkout -f             |svn revert        |
|hg status           |git status                  |svn status        |
|hg pull –update     |git pull                    |svn update        |
|hg move/rename      |git mv                      |svn move/rename   |
|~mercurial          |~git                        |~subversion         |
|hg add              |git add                     |svn add             |
|hg blame            |git blame                   |svn blame           |
|hg cat              |git show                    |svn cat             |
|hg clone            |git clone                   |svn checkout        |
|hg commit,  hg push |git commit -a,  git push    |svn commit          |
|hg remove           |git rm                      |svn delete / remove |
|hg diff             |git diff, git diff –cached  |svn diff            |
|hg help             |git help                    |svn help            |
|hg log              |git log                     |svn log             |
|hg revert           |git checkout -f             |svn revert          |
|hg status           |git status                  |svn status          |
|hg pull –update     |git pull                    |svn update          |
|hg move / rename    |git mv                      |svn move / rename   |



////////////////////////////////////////////////////////////////////////////////
* 参考ページ [#ice5b9f1]
- [[Mercurial 公式サイト>https://www.mercurial-scm.org/]]
- [[Mercurial 公式 Wiki>https://www.mercurial-scm.org/wiki/]]
- [[Mercurial 公式日本語チュートリアル>https://www.mercurial-scm.org/wiki/JapaneseTutorial]]
- [[Mercurial 対 Git:なぜ Mercurial を選ぶのか? | Atlassian Japan 公式ブログ | アトラシアン株式会社>https://www.atlassian.com/ja/blog/mercurial-vs-git-why-mercurial]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS