Journal

Keep a journal of where names have pointed.

1. Status

This extension is distributed with Mercurial as experimental.

This extension is slated to be integrated into core Mercurial.

Author: Facebook, Inc

2. Overview

Show the previous position of bookmarks and the working copy.

The journal is used to see the previous commits that bookmarks and the working copy pointed to. By default it shows the previous locations of the working copy. Passing a bookmark name will show all the previous positions of that bookmark. Passing --all will show the previous locations of all bookmarks and the working copy.

hg backups --recover <hash> can be used to recover a commit if it's no longer in your repository.

By default the reflog only shows the commit hash and the command that was running at that time. -v/--verbose will show the prior hash, the user, and the time at which it happened.

hg reflog -T json can be used to produce machine readable output.

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
journal =


CategoryExtensionsByOthers

JournalExtension (last edited 2016-08-10 19:05:42 by MartijnPieters)