Mercurial module

This module subclasses the Files module for Mercurial repository.

See Files POD for method information.

Methods are sorted in the same order as in the super-class.

alltags ($filename)

alltags returns a list of all tags available for the designated file.

  1. $filename

    A string containing the filename

A tag is not a numeric revision, it is a specific user symbol. A tag is usually associated with a software release, but may also name a branching point.

Two files with the same release tag are in a consistent state.

The list is extracted with hg tags command.

allbranches ($filename)

allbranches returns a list of all revisions available for the designated file.

  1. $filename

    A string containing the filename

The list is extracted with hg branches command.

parsechg ($filename)

parsehg builds a hash %hg which summarises control information contained in the Mercurial log for file $filename.

  1. $filename

    A string containing the filename

parsehg parses a Mercurial log file through the hg log command.

It is critical for good operation of CVS class.