差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| windows:mercurial [2015/07/02 05:42] – [Mercurial のエンコードを UTF-8 に設定] ともやん | windows:mercurial [2023/07/28 09:37] (現在) – [TortoiseHg のインストール] ともやん | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== TortoiseHg - Mercurial 分散構成管理システム用ツール ====== | + | < |
| + | < | ||
| + | #logo img { | ||
| + | object-fit: cover; | ||
| + | object-position: | ||
| + | width: 370px; | ||
| + | height: 68px; | ||
| + | } | ||
| + | </ | ||
| + | </ | ||
| + | ====== TortoiseHg - Mercurial 分散型バージョン管理システム用ツール ====== | ||
| + | <WRAP #logo> | ||
| + | {{windows: | ||
| + | </ | ||
| + | **TortoiseHg** とは、Microsoft Windows(Windows Explorer とダイレクトに統合)、Mac OS、Linux 等で実行可能な Mercurial の GUI フロントエンドである。\\ | ||
| + | PyQt(Windows シェル拡張を除く)で記述されている。\\ | ||
| + | Microsoft Windows で Mercurial を使用する場合に推奨されている。\\ | ||
| + | GNU General Public License の下でリリースされたフリーソフトウェアである。\\ | ||
| + | TortoiseHg は、Git サーバのクライアントとして使用可能である。\\ | ||
| + | [[wpjp> | ||
| ===== TortoiseHg のインストール ===== | ===== TortoiseHg のインストール ===== | ||
| + | |||
| + | ==== Scoop によるインストール方法 ==== | ||
| + | [[windows: | ||
| + | <WRAP color_term> | ||
| + | <WRAP color_command>< | ||
| + | <b class=GRN> | ||
| + | </ | ||
| + | <WRAP color_result>< | ||
| + | Results from local buckets... | ||
| + | |||
| + | <b class=GRN> | ||
| + | ---- ------- | ||
| + | tortoisehg | ||
| + | tortoisemerge 1.6.7 extras | ||
| + | tortoisesvn | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | scoop コマンドでインストールする😉\\ | ||
| + | <WRAP color_term> | ||
| + | <WRAP color_command>< | ||
| + | <b class=GRN> | ||
| + | </ | ||
| + | <WRAP color_result>< | ||
| + | Installing ' | ||
| + | tortoisehg-6.4.5-x64.msi (35.1 MB) [==========================================================================] 100% | ||
| + | Checking hash of <b class=CYN> | ||
| + | Extracting <b class=CYN> | ||
| + | Linking ~\scoop\apps\tortoisehg\current => ~\scoop\apps\tortoisehg\6.4.5 | ||
| + | Creating shim for ' | ||
| + | Creating shim for ' | ||
| + | Creating shim for ' | ||
| + | Creating shim for ' | ||
| + | <b class=YEL> | ||
| + | Creating shim for ' | ||
| + | Creating shim for ' | ||
| + | Creating shim for ' | ||
| + | Creating shortcut for Thg, TortoiseHg' | ||
| + | Creating shortcut for TortoiseHg Workbench (thgw.exe) | ||
| + | Creating shortcut for Mercurial Distributed SCM (hg.exe) | ||
| + | Creating shortcut for Pageant is a PuTTY authentication agent (Pageant.exe) | ||
| + | Creating shortcut for Service which gives us icons on the version-controlled files or folders (TortoiseHgOverlayServer.exe) | ||
| + | Creating shortcut for Tool for Comparison and Merge of Files and Directories (kdiff3.exe) | ||
| + | Creating shortcut for Command-line connection utility (based on PuTTY Plink) (TortoisePlink.exe) | ||
| + | <b class=GRN>' | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== 本家からダウンロードする場合 ==== | ||
| TortoiseHg を以下のページよりダウンロード\\ | TortoiseHg を以下のページよりダウンロード\\ | ||
| - | - [[http://tortoisehg.bitbucket.org/ja/|TortoiseHg]]の[[http://tortoisehg.bitbucket.org/ja/ | + | - [[https://www.mercurial-scm.org/|Mercurial SCM]]の[[https://www.mercurial-scm.org/downloads|Download]]をクリックし、[[https://www.mercurial-scm.org/release/ |
| - tortoisehg-x.x.x-xxx.msi をダブルクリックして実行し、[Next]ボタンをクリックして行きインストールする。 | - tortoisehg-x.x.x-xxx.msi をダブルクリックして実行し、[Next]ボタンをクリックして行きインストールする。 | ||
| - ポップアップメニューを日本語化するために、インストール先のregファイル(*1)を実行する。(ログオンし直すか再起動すると日本語化される)\\ *1 regファイルパス< | - ポップアップメニューを日本語化するために、インストール先のregファイル(*1)を実行する。(ログオンし直すか再起動すると日本語化される)\\ *1 regファイルパス< | ||
| - | ===== ファイル名をutf-8で扱うように設定 ==== | + | ===== ファイル名をutf-8で扱うように設定 |
| ==== 設定ファイルの編集 ==== | ==== 設定ファイルの編集 ==== | ||
| - | 以下のファイルにエディタで追記する。\\ | + | 以下のファイルにエディタで追記する。< |
| > notepad %USERPROFILE%\mercurial.ini | > notepad %USERPROFILE%\mercurial.ini | ||
| </ | </ | ||
| 行 20: | 行 89: | ||
| [ui] | [ui] | ||
| - | username = Tomoyan | + | username = TomoYan |
| [extdiff] | [extdiff] | ||
| 行 29: | 行 98: | ||
| extdiff = | extdiff = | ||
| </ | </ | ||
| + | |||
| ==== Mercurial のエンコードを UTF-8 に設定 ==== | ==== Mercurial のエンコードを UTF-8 に設定 ==== | ||
| - SystemPropertiesAdvanced.exe を起動する。 | - SystemPropertiesAdvanced.exe を起動する。 | ||
| - 「詳細設定」タブの「環境変数」ボタンをクリックして、「システム環境変数」の「新規」ボタンをクリックする。 | - 「詳細設定」タブの「環境変数」ボタンをクリックして、「システム環境変数」の「新規」ボタンをクリックする。 | ||
| - | - 新しいシステム変数の画面に以下を入力して「OK」ボタンをクリックする。\\ 変数名: HGENCODING\\ 変数値: utf-8 | + | - 新しいシステム変数の画面に以下を入力して「OK」ボタンをクリックする。\\ |
| + | 変数値: utf-8 | ||
| + | </ | ||
| ===== ファイル名をutf-8で扱うように設定(hg-fixutf8 編) ==== | ===== ファイル名をutf-8で扱うように設定(hg-fixutf8 編) ==== | ||
| 行 46: | 行 118: | ||
| < | < | ||
| [ui] | [ui] | ||
| - | username = Tomoyan | + | username = TomoYan |
| [extensions] | [extensions] | ||
| fixutf8 = C: | fixutf8 = C: | ||
| </ | </ | ||
| + | |||
| ==== Mercurial のエンコードを UTF-8 に設定 ==== | ==== Mercurial のエンコードを UTF-8 に設定 ==== | ||
| - 「コントロール パネル」-「システムとセキュリティ」-「システム」-「システムの詳細設定」を開く。 | - 「コントロール パネル」-「システムとセキュリティ」-「システム」-「システムの詳細設定」を開く。 | ||