Skip to content

Commit 5d190f9

Browse files
committed
Installation now much easier!
1 parent 26263a6 commit 5d190f9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,19 @@ <h1 class="tbar"><small>the</small> Hg-Git <small>mercurial plugin</small></h1>
7777

7878
<div class='section'>
7979
<div class="title">Installing</div>
80+
<h3>The easy way</h3>
81+
<p>Run <code>easy_install hg-git</code>, then add make sure the following is in your <code>~/.hgrc</code>:</p>
82+
<pre>[extensions]
83+
hgext.bookmarks =
84+
hggit = </pre>
85+
<p>...and that's it!</p>
86+
87+
<h3>The more involved way</h3>
8088
<p>First, install version 0.4.0 or newer of <a href="http://pypi.python.org/pypi/dulwich">dulwich</a>. You can do <code>easy_install 'dulwich>=0.4.0'</code> if you have setuptools installed. Clone this repository somewhere, or <a href="http://github.com/schacon/hg-git/zipball/master">download a snapshot</a>, then make the 'extensions' section in your '<code>~/.hgrc</code>' file look something like this:</p>
8189

8290
<pre>[extensions]
8391
hgext.bookmarks =
84-
hgext.hggit = [path-to]/hg-git</pre>
92+
hggit = [path-to]/hg-git/hggit</pre>
8593

8694
<p>That will enable the Hg-Git extension for you. The bookmarks section is not compulsory, but it makes some things a bit nicer. Bookmarks will be translated to git heads when pushing.</p>
8795
</div>

0 commit comments

Comments
 (0)