Skip to content

hg_ensure_clean_status

Community Action Reference: Inspected directly from Fastlane core ruby gem definitions.

Supported Platforms: ios, android, mac

Raises an exception if there are uncommitted hg changes

Details

Along the same lines as the ensure_git_status_clean action, this is a sanity check to ensure the working mercurial repo is clean. Especially useful to put at the beginning of your Fastfile in the before_all block.

Parameters & Options

This action takes no parameters or options.

Lane Context Shared Values

This action writes the following values to Actions.lane_context[SharedValues::...]:

Key Description
SharedValues::HG_REPO_WAS_CLEAN_ON_START Stores the fact that the hg repo was clean at some point

Examples

hg_ensure_clean_status

Source & Upstream