Info Extension

This extension is not distributed with Mercurial.

Author: Paul Moore

Download site: Download direct from this page - info.py

Overview

This extension displays basic information about a (local) repository. The information displayed includes:

An example of usage:

>hg info
Repository: C:\Data\Mercurial\crew
Base Hash: 9117c6561b0bd7792fa13b50d28239d51b78e51f
Revisions: 6469
Files: 787
Cloned From: http://hg.intevation.org/mercurial/crew

Configuration

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

[extensions]
info = path/to/info.py

History

Feedback

This dies for me on the current mercurial on the line

with the error message saying:

So this probably means it's no longer compatible with the current version of mercurial.

DirkjanOchtman: the repo.changelog.count() can be changed to len(repo) (needed for 1.1+). PaulMoore: Thanks, fixed (with a patch supplied by Greg Ward).


CategoryExtensionsByOthers