[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/repository/daemon/ -> PhabricatorMercurialGraphStream.php (summary)

Streaming interface on top of "hg log" that gives us performant access to the Mercurial commit graph with one nonblocking invocation of "hg". See @{class:PhabricatorRepositoryPullLocalDaemon}.

File Size: 158 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  __construct()
  getParents()
  getCommitDate()
  parseUntil()
  parseParents()
  isParsed()

Functions
Functions that are not part of a class:

__construct(PhabricatorRepository $repository, $commit)   X-Ref
No description

getParents($commit)   X-Ref
No description

getCommitDate($commit)   X-Ref
No description

parseUntil($until_type, $until_name)   X-Ref
Parse until we have consumed some object. There are two types of parses:
parse until we find a commit hash ($until_type = "node"), or parse until we
find a local commit number ($until_type = "rev"). We use the former when
looking up commits, and the latter when resolving parents.


parseParents($parents, $target_rev)   X-Ref
Parse a {parents} template, returning the local commit numbers.


isParsed($type, $name)   X-Ref
Returns true if the object specified by $type ('rev' or 'node') and
$name (rev or node name) has been consumed from the hg process.




Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1