Skip to content

Commit

Permalink
added instructions for Mac Ports users to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
roddi committed Nov 1, 2009
1 parent e365508 commit 173a80e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ porting ZFS.

## Prerequisites

You should have [git][git] and [mercurial][hg] before proceeding.
You should have [git][git], [mercurial][hg] and the [mercurial convert extension][hgconvert] before proceeding. If you use mac ports read the Mac Ports Caveats section

## First-time Initialization

Expand All @@ -16,6 +16,11 @@ First, make sure you've got the hg fast-export submodules:
git submodule init
git submodule update

in ~/.hgrc add:

[extensions]
hgext.convert=

## Cloning OpenSolaris

Get a local clone of OpenSolaris using the `clone-repo` command.
Expand Down Expand Up @@ -45,5 +50,16 @@ that has all of the stuff you need and nothing you don't.
This step takes about an hour on my macbook pro.


## Mac Ports Caveat

If you installed Mercurial with Mac Ports you will have to change the following:

in fast-export/hg-fast-export.py the first line to:

#!/usr/bin/env /opt/local/bin/python


[git]: http://git-scm.com/
[hg]: http://www.selenic.com/mercurial/
[hgconvert]: http://mercurial.selenic.com/wiki/ConvertExtension

0 comments on commit 173a80e

Please sign in to comment.