Robert Ward > Hg-0.001 > Hg::Repository

Download:
Hg-0.001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Hg-0.003

NAME ^

Hg::Repository - This object represents a specific Mercurial repository.

VERSION ^

version 0.001

ATTRIBUTES ^

dir

The root directory of the repository.

hg

The full path to the hg binary. If there is an hg binary in the current path this will automatically be set to that. If there isn't one, or you want to use a different mercurial, please set this to the path.

METHODS ^

clean

Returns a boolean indicating whether or not the repository has uncommitted

changes.

dirty

Returns the opposite of clean

changes

Not implemented yet.

revisions

Returns an arrayref of all of the repository's revisions.

revision

Returns a specific revision, this method can take any valid mercurial revision specifier.

tip

Returns the tip revision.

current

Returns the parent of the current state.

AUTHOR ^

Robert Ward <robert@rtward.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Robert Ward.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: