Journal
Keep a journal of where names have pointed.
Contents
1. Status
This extension is not distributed with Mercurial.
This extension is slated to be integrated into core Mercurial.
Author: Facebook, Inc
Note, in the repository this extension is still called revlog; it'll be renamed when merging.
Repository: https://bitbucket.org/facebook/hg-experimental
Web page: https://bitbucket.org/facebook/hg-experimental
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 =