Plan 9 from Bell Labs

This platform is supported on Mercurial as of version 2.2.

The contrib/plan9 directory contains support for Mercurial on Plan 9 from Bell Labs platforms. It is assumed that the version of Python running on these systems supports the ANSI/POSIX Environment (APE). At the time of this writing, the bichued/python port is the most commonly installed version of Python on these platforms. If a native port of Python is ever made, some minor modification will need to be made to support some of the more esoteric requirements of the platform rather than those currently made (cf. posix.py).

Prerequisites

Building

Installing

Packaging

Configuration

Configuration on Plan 9 is largely the same as other platforms. This section defines platform-specific differences.

File paths

Configuration file paths have been slightly modified to fit into the Plan 9 file system hierarchy:

Per-user configuration:

Per-system configuration:

Per-installation configuration:

For more detail, see hg help config.

Other differences

By default, installations will have the FactotumExtension enabled; this extension permits factotum(4) to act as an authentication agent for HTTP repositories. Additionally, an ExtdiffExtension command named 9diff is enabled which generates diff(1) compatible output suitable for use with the plumber(4).

Commit messages are plumbed using E if no editor is defined; users must update the plumbed file to continue, otherwise the hg process must be interrupted. This change was primarily made to reduce confusion as vi is the MIPS instruction simulator on Plan 9 platforms.


CategoryDeveloper CategoryHowTo CategoryPlan9