Compiling

Compiling MacHg from sources

Prerequisites

  1. You need OSX 10.6+ ie Snow Leopard or above.
  2. If they are not installed then first install the Xcode Developer tools (I assume almost everyone reading this will have done this when installing the opperating system.)

Getting the sources

Building MacHg

  1. Place the sources somewhere on your machine. (/Users/yourusername/MacHg/ is fine.)
  2. Locate the interface builder extension at path-to-sources/MacHg/LinkedLibraries/BWToolkit/BWToolkit.ibplugin
  3. Double click on this interface builder extension to load it into interface builder
    1. (if you already have this extension in interface builder remove it first as this is a newer updated extension off of Brandon's sources.)
  4. Open the XCode MacHg/MacHg.xcodeproj
  5. Choose build and run from the XCode menu.
  6. Congratulations! You should have just built MacHg!
    1. (The built application is in MacHg/build/Debug/MacHg.app)
    2. (If this doesn't work for you for any reason please report it as an issue here.)

Additional changes for XCode 4+

If double clicking on the interface builder extension does not open interface builder:

  1. Launch XCode 3 at /Developer-old/Applications and open the MacHg project.
  2. Double click the interface builder extension and it should now launch Interface Builder 3 and register the plugin.
  3. Close XCode 3 and open the MacHg project with XCode 4
  4. Build and run.

This wiki uses the Creole syntax, and is fully compatible with the 1.0 specification.

Jason F Harris, 2010

Updated

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.