Class Status

Description

Does not implement the following Mercurial 1.1.1 options:

-n --no-status hide status prefix -C --copies show source of copied files -0 --print0 end filenames with NUL, for use with xargs --rev show difference from revision

Usage: $hg = new Hg(); $hg->getRepository('/path/')->status('all');

Located in /Hg/Repository/Command/Status.php (line 33)

Command
   |
   --Status
Method Summary
Collection __construct ($wrapper $restriction, $restriction 1)
array getStatus ()
Methods
Constructor __construct (line 80)

Sets the restriction passed into the command.

  • access: public
Collection __construct ($wrapper $restriction, $restriction 1)
  • $restriction 1: is required
  • $wrapper $restriction: is the passed object / class instance of Command.php
getStatus (line 100)

Return the status of entities in the repository subject to restrictions.

Status codes are returned as: M = modified A = added R = removed C = clean ! = deleted, but still tracked ? = not tracked I = ignored

  • return: where array[0] is the status code and array[1] is the entity's full path.
  • see: $_restriction
  • access: public
array getStatus ()

Documentation generated on Tue, 18 Aug 2009 23:53:21 -0600 by phpDocumentor 1.4.2