Why: the goal or problem

A translation tool helps volunteers revise interface strings. Its maintainers already use hg scripts. They need to distinguish revisable work from shared history without migrating that workflow to Git.

How: work toward a solution

Commit a wording fix locally as draft. Push to the team’s publishing repository: that change becomes public on both sides. Check its phase before rewriting history.

A wording fix crosses a publishing boundary from draft to public

Translation tool · sharing phases

The same change. A new sharing phase.

draft

01 / Local wording fix

hg commit · Default new-commit phase

Translation: clarify the Save label

02 / hg push ↓

Remote configured as publishing

public

03 / Shared history

Public on the local and remote repositories

Same wording fix · check before rewriting

Public phase ≠ public access. These phases describe sharing history, not repository permissions.

What: the concept

Mercurial is distributed version control. Phases track sharing, not access permissions: public does not mean an internet-visible repository. Non-publishing remotes can exchange drafts. Git may fit better when required integrations expect Git.

Source