statusコマンドを使用して、作業コピーとその親リビジョン間、または任意の2つのリビジョン間のファイルステータスの変更を一覧表示します。次のような出力が得られます。
$ hg status --rev .:tip
M hgext/keyword.py
M mercurial/cmdutil.py
M mercurial/commands.py
M mercurial/context.py
M mercurial/patch.py
A tests/test-encoding-align
A tests/test-encoding-align.out
これはこのアップデートに対応します:
$ hg update -v
resolving manifests
getting hgext/keyword.py
getting mercurial/cmdutil.py
getting mercurial/commands.py
getting mercurial/context.py
getting mercurial/patch.py
getting tests/test-encoding-align
getting tests/test-encoding-align.out
7 files updated, 0 files merged, 0 files removed, 0 files unresolved
編集:preupdate
更新の一部としてこの情報を常に取得するためのフックを作成できます。私はたまたまWindowsを使用していますが、ここでこのフックが機能します。
[hooks]
preupdate = hg status --rev .:%HG_PARENT1%
Unixライクなシステムで%HG_PARENT1%
置き換えます。$HG_PARENT1
これにより、MercurialのエクスペリエンスがさらにSubversionのようになります:-)