windows:mercurial

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
windows:mercurial [2014/03/09 11:20] ともやんwindows:mercurial [2023/07/28 09:37] (現在) – [TortoiseHg のインストール] ともやん
行 1: 行 1:
-====== TortoiseHg - Mercurial 分散構成管理システム用ツール ======+<html> 
 +  <style> 
 +    #logo img { 
 +      object-fit: cover; 
 +      object-position: bottom; 
 +      width: 370px; 
 +      height: 68px; 
 +    } 
 +  </style> 
 +</html> 
 +====== TortoiseHg - Mercurial 分散型バージョン管理システム用ツール ====== 
 +<WRAP #logo> 
 +{{windows:tortoisehg_logo.png?370|TortoiseHg Logo}} 
 +</WRAP> 
 +**TortoiseHg** とは、Microsoft Windows(Windows Explorer とダイレクトに統合)、Mac OS、Linux 等で実行可能な Mercurial の GUI フロントエンドである。\\ 
 +PyQt(Windows シェル拡張を除く)で記述されている。\\ 
 +Microsoft Windows で Mercurial を使用する場合に推奨されている。\\ 
 +GNU General Public License の下でリリースされたフリーソフトウェアである。\\ 
 +TortoiseHg は、Git サーバのクライアントとして使用可能である。\\ 
 +[[wpjp>TortoiseHg|TortoiseHg - Wikipedia]] より\\
  
-===== クラント インストール ===== +===== TortoiseHg のインール ===== 
-TortoiseHg Mercurial クラントを以下のページよりダウンロード\\ + 
-  - [[http://tortoisehg.bitbucket.org/ja/|TortoiseHg]]の[[http://tortoisehg.bitbucket.org/ja/download/index.html|ダウンロード]]をクリックし、[[https://bitbucket.org/tortoisehg/thg/downloads/tortoisehg-2.1.4-hg-1.9.3-x86.msi|tortoisehg-2.1.4-hg-1.9.3-x86.msi(32ビット版)]]または[[https://bitbucket.org/tortoisehg/thg/downloads/tortoisehg-2.1.4-hg-1.9.3-x64.msi|tortoisehg-2.1.4-hg-1.9.3-x64.msi(64ビット版)]]をダウンロードする。 +==== Scoop によるインストール方法 ==== 
-  - tortoisehg-2.4-hg-2.2.1-x??.msi をダブルクリックして実行し、[Next]ボタンをクリックして行きインストールする。+[[windows:scoop|Scoop]] 上の Tortoise シリーズを検索する🤔\\ 
 +<WRAP color_term> 
 +<WRAP color_command><html><pre> 
 +<b class=GRN>$</b> <b class=HIY>scoop</b> search tortoise 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +Results from local buckets... 
 + 
 +<b class=GRN>Name          Version      Source Binaries 
 +----          -------      ------ --------</b> 
 +tortoisehg    6.4.5        extras 
 +tortoisemerge 1.6.7        extras 
 +tortoisesvn   1.14.5.29465 extras 
 + 
 +</pre></html></WRAP> 
 +</WRAP> 
 + 
 +scoop コマンドでインールする😉\\ 
 +<WRAP color_term> 
 +<WRAP color_command><html><pre> 
 +<b class=GRN>$</b> <b class=HIY>scoop</b> install tortoisehg 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +Installing 'tortoisehg' (6.4.5) [64bit] from extras bucket 
 +tortoisehg-6.4.5-x64.msi (35.1 MB) [==========================================================================] 100% 
 +Checking hash of <b class=CYN>tortoisehg-6.4.5-x64.msi</b> ... <b class=GRN>ok.</b> 
 +Extracting <b class=CYN>tortoisehg-6.4.5-x64.msi</b> ... <b class=GRN>done.</b> 
 +Linking ~\scoop\apps\tortoisehg\current => ~\scoop\apps\tortoisehg\6.4.5 
 +Creating shim for 'thg'
 +Creating shim for 'thgw'
 +Creating shim for 'hg'
 +Creating shim for 'Pageant'
 +<b class=YEL>WARN  Overwriting shim ('pageant.exe' -> 'Pageant.exe') installed from putty</b> 
 +Creating shim for 'TortoiseHgOverlayServer'
 +Creating shim for 'kdiff3'
 +Creating shim for 'TortoisePlink'
 +Creating shortcut for Thg, TortoiseHg's GUI tools for Mercurial SCM (Hg) (thg.exe) 
 +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' (6.4.5) was installed successfully!</b> 
 +</pre></html></WRAP> 
 +</WRAP> 
 + 
 +==== 本家からダウンロードする場合 ==== 
 +TortoiseHg を以下のページよりダウンロード\\ 
 +  - [[https://www.mercurial-scm.org/|Mercurial SCM]]の[[https://www.mercurial-scm.org/downloads|Download]]をクリックし、[[https://www.mercurial-scm.org/release/tortoisehg/windows/tortoisehg-5.4.2-x64.msi|TortoiseHg 5.4.2 MSI installer - x64 Windows]]をダウンロードする。 
 +  - tortoisehg-x.x.x-xxx.msi をダブルクリックして実行し、[Next]ボタンをクリックして行きインストールする。
   - ポップアップメニューを日本語化するために、インストール先のregファイル(*1)を実行する。(ログオンし直すか再起動すると日本語化される)\\ *1 regファイルパス<code>C:\Program Files\TortoiseHg\i18n\cmenu\thg-cmenu-ja.reg</code>   - ポップアップメニューを日本語化するために、インストール先のregファイル(*1)を実行する。(ログオンし直すか再起動すると日本語化される)\\ *1 regファイルパス<code>C:\Program Files\TortoiseHg\i18n\cmenu\thg-cmenu-ja.reg</code>
  
-===== ファイル名をutf-8で扱うように設定 ====+===== ファイル名をutf-8で扱うように設定 ===== 
 + 
 +==== 設定ファイルの編集 ==== 
 +以下のファイルにエディタで追記する。<code> 
 +> notepad %USERPROFILE%\mercurial.ini 
 +</code> 
 +<code> 
 +# Generated by TortoiseHg settings dialog 
 + 
 +[tortoisehg] 
 +ui.language = ja 
 + 
 +[ui] 
 +username = TomoYan <tomoyan@example.com> 
 + 
 +[extdiff] 
 +cmd.winmergeu = C:\Tools\WinMerge\WinMergeU.exe 
 +opts.winmergeu = /r /e /x /ub 
 + 
 +[extensions] 
 +extdiff = 
 +</code> 
 + 
 +==== Mercurial のエンコードを UTF-8 に設定 ==== 
 +  - SystemPropertiesAdvanced.exe を起動する。 
 +  - 「詳細設定」タブの「環境変数」ボタンをクリックして、「システム環境変数」の「新規」ボタンをクリックする。 
 +  - 新しいシステム変数の画面に以下を入力して「OK」ボタンをクリックする。\\ <code>変数名: HGENCODING 
 +変数値: utf-8 
 +</code> 
 + 
 +===== ファイル名をutf-8で扱うように設定(hg-fixutf8 編) ====
 <html><span style="color: red">※hg-fixutf8を動作させるには、TortoiseHg 2.1.4(Mercurial 1.9.3)をインストールする必要がある。(2012/05/09現在)</span></html> <html><span style="color: red">※hg-fixutf8を動作させるには、TortoiseHg 2.1.4(Mercurial 1.9.3)をインストールする必要がある。(2012/05/09現在)</span></html>
 ==== hg-fixutf8 の入手 ==== ==== hg-fixutf8 の入手 ====
行 19: 行 118:
 <code> <code>
 [ui] [ui]
-username = Tomoyan <tomoyan@example.com>+username = TomoYan <tomoyan@example.com>
  
 [extensions] [extensions]
 fixutf8 = C:\hg-fixutf8\fixutf8.py fixutf8 = C:\hg-fixutf8\fixutf8.py
 </code> </code>
 +
 ==== Mercurial のエンコードを UTF-8 に設定 ==== ==== Mercurial のエンコードを UTF-8 に設定 ====
   - 「コントロール パネル」-「システムとセキュリティ」-「システム」-「システムの詳細設定」を開く。   - 「コントロール パネル」-「システムとセキュリティ」-「システム」-「システムの詳細設定」を開く。
   - 「詳細設定」タブの「環境変数」ボタンをクリックして、「システム環境変数」の「新規」ボタンをクリックする。   - 「詳細設定」タブの「環境変数」ボタンをクリックして、「システム環境変数」の「新規」ボタンをクリックする。
   - 新しいシステム変数の画面に以下を入力して「OK」ボタンをクリックする。\\ 変数名: HGENCODING\\ 変数値: utf-8   - 新しいシステム変数の画面に以下を入力して「OK」ボタンをクリックする。\\ 変数名: HGENCODING\\ 変数値: utf-8
- 
  
 ===== 参考文献 ===== ===== 参考文献 =====
 [[http://www.asukaze.net/etc/vcs/hg-fixutf8.html|TortoiseHg で日本語ファイル名 - あすかぜ・ねっと]]\\ [[http://www.asukaze.net/etc/vcs/hg-fixutf8.html|TortoiseHg で日本語ファイル名 - あすかぜ・ねっと]]\\
  
  • windows/mercurial.1394331617.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)