Created on Apr 8, 2010
author: | marcink,lukaszb |
---|
Mercurial repository backend
Raises RepositoryError if repository could not be find at the given repo_path.
Parameters: |
|
---|
Returns MercurialChangeset object representing repository’s changeset at the given revision.
Return last n number of MercurialChangeset specified by limit attribute if None is given whole list of revisions is returned
@param limit: int limit or None @param offset: int offset
Tries to pull changes from external location.
Bases: vcs.backends.base.BaseChangeset
Represents state of the repository at the single revision.
Returns shorter version of mercurial’s changeset hexes.
Returns raw string identifing this changeset (40-length hex)
Returns shortened version of raw_id (first 12 characters)
Returns list of parents changesets.
Returns list of added FileNode objects.
Returns list of changed FileNode objects.
Returns list of removed RemovedFileNode objects.
Note
Remember that those RemovedFileNode instances are only dummy FileNode objects and trying to access most of it’s attributes or methods would raise NodeError exception.
Returns a list of three element tuples with lineno,changeset and line
Returns last commit of the file at the given path.
Returns content of the file at given path.
Returns history of file as reversed list of Changeset objects for which file at given path has been modified.
Returns message of the last commit related to file at the given path.
Returns revision of the last commit related to file at the given path.
Returns size of the file at given path.
Returns Node object from the given path. If there is no node at the given path, ChangesetError would be raised.
Returns combined DirNode and FileNode objects list representing state of changeset at the given path. If node at the given path is not instance of DirNode, ChangesetError would be raised.
Similar to os.walk method. Insted of filesystem it walks through changeset starting at given topurl. Returns list of tuples (topnode, dirnodes, filenodes).